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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Incremental Refresh - Something Went Wrong

I am struggling to set up incremental refresh for my data set.

I have used the various resources available offered by the forum/powerbi service but cant get it to work for my data set (to link a few)

https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh

https://powerbi.microsoft.com/en-us/blog/incremental-refresh-in-power-bi-premium/

https://community.powerbi.com/t5/Community-Blog/Important-Considerations-for-Setting-up-Incremental-...

 

Anyway, back to how i am approaching the problem.

In query editor, on my data tab I have gone onto manage parameters.

I have created 2 new parameters.

RangeStart: 01/03/19 (starting date of my data)

RangeEnd 01/01/2025 (end date as a random future date so i don't filter out any new data that comes in)

 

Then on my data set on my date/time column i have custom filtered the column between RangeStart-RangeEnd.

 

When i try apply the query i get a pop up message

"Something went wrong" - Object reference not set to an instance of an object. And it won't apply the changes, hence can't then set up the incremental refresh capability.

 

Can someone offer any suggestions. Does my RangeEnd date need to be to the last date of raw data in the model, however if i do this, and filter by RangeEnd, how does any new data past the RangeEnd date (ie today 20/05/19) get refreshed in the model?

 

Cheers.

 

2 REPLIES 2
Anonymous
Not applicable

After a lot of fiddling, it is now letting my apply the query, but when i go into incremental refresh for the particular query it comes up with

"Unable to confirm if the M query can be folded. It is not recommended to use incremental refresh with non-foldable queries"

 

How to fix this?

Hi @Anonymous ,

 

From this documentit's important the partition filters are pushed to the source system when queries are submitted for refresh operations. To push filtering down means the datasource should support query folding. For some data sources that don't support query folding, incremental refresh to be very slow, and the process can run out of resources either in the Power BI service or in the on-premises data gateway if used. So, above warning suggests you use data sources supporting query folding.

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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