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
gritman
Frequent Visitor

Incremental Refresh with URL

Hello all,

 

I'm trying to use the incrememtal refresh and hope someone can advise me please.

 

I query data using a URL like:  server/path&fromDate=01-01-2020&toDate=-1BD (i.e. return data from Jan 1st to the previous Business Day).

 

Currently when I refresh it data is returned for everyday back to Jan 1st.

 

I would like to use the incremental refresh to return data for -1BD only (i.e. the previous business day) and append to previous 8 months of data.

 

I've setup the incremental refresh as per the instructions Microsoft have provided then changed the query to be server/path&fromDate=-1BD&toDate=-1BD.  However that wiped out the other 8months of data and only 1BD is available.

 

Does anyone have any suggestions on how I can keep the existing 8months of data and then switch over to load incrementally from now on please?

 

Many thanks

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @gritman ,

 

First you should set a "RangeStart " and "RangeEnd",and make a setting such as below:

#"Filtered Rows" = Table.SelectRows(dbo_Fact, each [OrderDate] >= RangeStart and [OrderDate] < RangeEnd) 

Then set the refresh as below:

refresh-ranges.png

Pay attention to the marked area.

 


 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @gritman ,

 

First you should set a "RangeStart " and "RangeEnd",and make a setting such as below:

#"Filtered Rows" = Table.SelectRows(dbo_Fact, each [OrderDate] >= RangeStart and [OrderDate] < RangeEnd) 

Then set the refresh as below:

refresh-ranges.png

Pay attention to the marked area.

 


 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

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.