Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
ShahidYumeen
Helper I
Helper I

Incremental Refresh and Query Folding

Hi,
I am working on a project and was wondering if i could implement incremental refresh for my dashboards in powerBI. However i came to know that Incremental Refresh doesnt works with Non-foldable queries. When i checked mine, the "view native query" is greyed out for all the queries in "Applied Steps" including the first one "Source". 

ShahidYumeen_0-1735819008059.png

Also i am getting this error when i implement incremental refresh on one of the tables

ShahidYumeen_1-1735819091562.png

Please help me on this as i havent worked with incremental refreshes before. Thanks

2 REPLIES 2
v-jiewu-msft
Community Support
Community Support

Hi @ShahidYumeen ,

Based on the knowledge, try to specify a short date/time period in the RangeStart and RangeEnd parameters that include no more than a few thousand rows. If the load of filtered data from the data source to the model takes a long time and is process intensive, it likely means the query isn't being folded.

vjiewumsft_0-1735883325448.png

You can also view the following documents to learn more information.

Troubleshoot incremental refresh and real-time data - Power BI | Microsoft Learn

Query folding guidance in Power BI Desktop - Power BI | Microsoft Learn

Incremental refresh for semantic models in Power BI - Power BI | Microsoft Learn

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

rajendraongole1
Super User
Super User

Hi @ShahidYumeen  - If the "View Native Query" option is greyed out, it indicates that query folding is not occurring, which is crucial for incremental refresh

 

Avoid using custom columns, Merge Queries, or complex transformations early in your query. Instead, push these transformations downstream.Replace static date filters with Power Query Parameters (e.g., RangeStart and RangeEnd). These parameters are needed for incremental refresh. you can test it , by right-click any step in Applied Steps and check if "View Native Query" is enabled. If not, identify the first step where folding breaks.Incremental refresh works only with DirectQuery or Import Mode. Ensure your table is not in a mode that doesn’t support these options.

 

Hope the above details helps.  you can also share the exact error message you’re encountering.Provide details about your data source and transformations.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.