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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Incremental Refresh with OData

Hello Everybody,

 

is it possible to make incremental refresh work with Odata? So far I havent found a way to make things work. No matter how much I try the filtering of an Odata Query is not folded to the source. I first tryed Query Folding with a simple Query for an Entry_No not even aiming for the paramters or dates.
I use the Query Diagnostics to trace if the Query send to the server is parametrized but it is not.

 

Example:

let
Source = OData.Feed("SourceURL"),
VendorLedgerEntries = Source[VendorLedgerEntries],
#"Filterd Rows" = Table.SelectRows(VendorLedgerEntries, each ([Entry_No] = 8857))
in
#"Filterd Rows"

 

This results only in the following Query send to server:

 

Request:
GET http://SourceURL/VendorLedgerEntries HTTP/1.1

Response:
http://SourceURL/VendorLedgerEntries
HTTP/1.1 200 OK

 

The only time this does work is when I set the parameter myself in the Query, however then it will not work in the service.

 

Example:

let
Source = OData.Feed("SourceURL/VendorLedgerEntries?$filter=Entry_No eq 8857", null, [Implementation="2.0"])
in
Source

 

=> This is what I would like to see in the previous example in my Query Diagnostics

 

Is there any way of Query folding in Odata at all? If so how to make use of it?

And is it possible to use the Parameters RangeStart and RangeEnd with Odata for incremental refresh?

 

Help would be appreciated 😄

 

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

Hi @Anonymous 

It is a limitation currently as the data sources doesn't support query folding.

Please check the workarounds below:

https://thinkaboutit.be/2020/02/how-do-i-implement-an-incremental-refresh-in-power-bi-free-or-pro/

 

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

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

It is a limitation currently as the data sources doesn't support query folding.

Please check the workarounds below:

https://thinkaboutit.be/2020/02/how-do-i-implement-an-incremental-refresh-in-power-bi-free-or-pro/

 

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

Is it still an issue ?

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 MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors