cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dkgo
New Member

Dataset with Parameter Row Limit Not Refreshing

Hi!

 

I've set-up a parameter called RowLimit to limit the rows that are being fetched from a group of files. Basically, it allows me to control the number of rows i'm working with while on Power BI Desktop via an if statement:

 

 

if RowLimit > 0 then Table.FirstN(Source, RowLimit) else Source

 

 

 

Once I publish this to our workspace, I set the parameter to 0 and refresh the dataset so all the data is kept.

 

However, when I refresh the dataset, everything remains the same. I've also made the parameter visible on the data model so I can check if the value is being updated and it is. But the dataset is not getting updated. All of this works on Power BI desktop.


Other things that I have tried, but did not wor

  • Waiting for 30mins after I set the parameter before triggering a refresh
  • Using a scheduled refresh instead of a manual trigger
1 REPLY 1
vanessafvg
Super User
Super User

can you post all your power query code?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors