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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
crln-blue
Post Patron
Post Patron

Odata incremental refresh not appending data

Hello everyone!

I have tables where my source is through odata feed (from sap). My odata source only provides delta data, meaning, data that were just changed one day ago. Therefore, the output changes everyday. 

 

I've looked through the docs and made RangeStart and RangeEnd date time parameters. I loaded my Odata and filtered the my changed date field with the RangeStart and RangeEnd parameters.

let
    url = "https://fiori----sap/opu/odata/sap/----",
    options = 
    [
        Headers = [
            #"sap-client" = ----,
            #"Authorization" = "Basic " & ----
        ]
    ],
    Source = OData.Feed(url, null, options),
    #"Filtered Rows" = Table.SelectRows(Source, each [changed_date] >= RangeStart and [changed_date] <= RangeEnd)
in
    #"Filtered Rows"

I also set up the incremental settings on the Power BI Desktop:

crlnblue_0-1701363187426.png

And then published it to Service.

When I the scheduled refresh runs, it does not append data (which is what is expected with incremental refresh). Instead, it replaces with a new data - it deletes the first data load and every time it refreshes, it deletes and places new data.

 

I followed the docs but I'm not getting the incremental refresh I'm supposed to have.

 

What would be the solution for this? There are no filters on my odata url because the odata url already provides data from the past day.

 

This has been bugging me for weeks. 😢

Advanced thank you for the help!

2 REPLIES 2
amitchandak
Super User
Super User

@crln-blue , It should delete data for the last 10 days and again append data for the last 10 days.

 

Can you make sure the step where you have given a filter for data range was folding? If not, It might bring in full data and then do incremental

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hmm I'm not really sure if the step where I put the filter is folding. I just followed the docs. However, it isnt working.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.