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
visuresh
Employee
Employee

Incremental Refresh does not pull all the data for the defined time duration

I have defined the parameters right and configured settings correctly. Query folding works. The data refreshes only for the value specified in the RangeStart and RangeEnd parameters and not for the time duration specified in the incremental refresh settings.

1 ACCEPTED SOLUTION

I cofirmed that the partitions are correct and data is populated. If I remove the reference query, the incremental refresh works fine. 

View solution in original post

13 REPLIES 13
v-jayw-msft
Community Support
Community Support

Hi @visuresh ,

 

Not very clear about the situation. Let say you have filtered data from July to October and set store last 3 months' data and refresh last one month's data, which part of the data was refreshed in your case?

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
deanismael
Advocate II
Advocate II

As mentioned, the start / end date parameters appear to have been configured correctly. Are you observing the same behaviour in Desktop and app.powerbi.com?

 

Per your original comment...

 


@visuresh wrote:

I have defined the parameters right and configured settings correctly. Query folding works. The data refreshes only for the value specified in the RangeStart and RangeEnd parameters and not for the time duration specified in the incremental refresh settings.


Can you confirm if this is the case as earlier in the thread you confirmed the partitions were created and backfilled correctly which indicates it is not an incremental refresh issue.

deanismael
Advocate II
Advocate II

You're refreshing in the Service (not Desktop) which is where you're observing these persistent filters? If you're running a Premium capacity, can you validate if the data has been partitioned correctly.

I cofirmed that the partitions are correct and data is populated. If I remove the reference query, the incremental refresh works fine. 

Yes, I am observing this in Service. To verify tha partitions, should I open the model in SSMS?

That's correct. If you workspace is backed by a Premium capacity, grab the connection string from the dataset settings and connect via an Analysis Services connection in SSMS. The partitions will have been created after the initial refresh and can be viewed by right clicking on the table with the incremental policy applied and selecting the 'Partitions' option.

I checked and I did not see "applyRefreshPolicy" in the script. But the partitions are created correctly. I am not sure why "applyRefreshPolicy" is not present though Incremental Refresh is defined for the table.

Is data present in some / all of those partitions?

Data is present in all the partitions

Worth double checking if you have any query, page or visual filters enforcing limits on the data, but as I understand it, your original question re. incremental refresh is not the issue here.

I have setup incremental refresh on one of the Power query. Later I have referenced this query  and created other queries with operations that are not allowed for Query folding. And the data from the later queries is used in the visual. I am expecting that incremental refresh to work on the original first query. Is this approach ok?

So you've duplicated the query, added steps to break folding and the result is that one visual is filtered based on the rangeStart / rangeEnd parameter settings and the other (which is built from the second query) is complete when viewing via powerbi.com?

I did not duplicate but referenced only

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.

Top Solution Authors
Top Kudoed Authors