cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

REST API - update parameter + refresh dataset - doesn't change parameter value in report

Hi Everyone,

 

First quick explanation what I am doing using REST API + master account (.Net NuGet package Power BI v3):

 

1. I have dataset created by Load option with 1 parameter inside + report which is using this dataset as source. (source for Load is SQL server + enterprise gateway installed on same server as SQL)

2. I'm changing parameter using UpdateParameters API. (TakeOver if necessary) 

3. Waiting 30 min till updated.

4. Refreshing dataset.

5. Downloading report to pbix file.

 

Report looks good, refreshed with correct parameter value. So it's great..yay ;).

 

But when I'm openning report in PowerBI desktop -> Edit Querries, I see that parameter value is orginal one, which was set directly in service during my dev process. And now, when I press REFRESH in report, old parameter value is used to refresh data, so user will see different report.

 

Is there any way to update this parameter directly in report too?

 

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!