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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Grumelo
Advocate II
Advocate II

Don't use Odata!

Don't use OData Connector!

Don't retrieve your data with OData.Feed()!

 

WHY ?

 

Because until it's fixed the OData connector is not at all doing what you are expecting.
Data retrieval is slow like hell and even worst the size of retrieved data is too huge.

This is because many many HTTP requests are executed instead of a single one.

 

Even if your use the ODataVersion Parameter or request JSON format; OData.Feed() is just a no go.

OData.Feed("URL",[],[Odataversion=4]) is maybe improving the problem but not solving it.

 

WHAT ELSE ?

 

The best alternative when trying to retrieve OData feed is the following

 

Json.Document(Web.Contents("your REST call",[Headers=[accept="application/json"]])

 

Example when retrieving data from a SharePoint space

 

Json.Document(Web.Contents("https://XXXX/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget,ModifiedBy/Name&$expand=ModifiedBy",[Headers=[accept="application/json"]]))

5 REPLIES 5
Grumelo
Advocate II
Advocate II

This is what Power BI desktop is doing when using OData.Feed()

 

ResultProtocolURLBodyCachingContent-TypeProcess
200HTTPS/BI_Demo/_vti_bin/listdata.svc/$metadata113,170no-cacheapplication/xml;charset=utf-8microsoft.mashup.container.netfx40:9188
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=Budget,Id,WineType,Year23,969no-cacheapplication/atom+xml;charset=utf-8microsoft.mashup.container.netfx40:6636
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget813no-cacheapplication/json;charset=utf-8microsoft.mashup.container.netfx40:9188
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget813no-cacheapplication/json;charset=utf-8microsoft.mashup.container.netfx40:9188
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget22,700no-cacheapplication/atom+xml;charset=utf-8microsoft.mashup.container.netfx40:9188
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget813no-cacheapplication/json;charset=utf-8microsoft.mashup.container.netfx40:6636
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget813no-cacheapplication/json;charset=utf-8microsoft.mashup.container.netfx40:6636
200HTTPS/BI_Demo/_vti_bin/listdata.svc/GreenWinerySalesBudget?$select=WineType,Year,Budget22,700no-cacheapplication/atom+xml;charset=utf-8microsoft.mashup.container.netfx40:6636
arify
Microsoft Employee
Microsoft Employee

Hi Grumelo,

 

Can you please send us a frown with the Fiddler traces?

 

Thanks

I've done it already several days ago, email was send to: pbidesfb@microsoft.com sender was Fred Lorrain from fred.lorrain@atos.net

arify
Microsoft Employee
Microsoft Employee

Thanks, we'll take a look at it and will let you know 🙂

By the way, this issue of calling many time the data source is not limited to OData.feed(); same kind of problem with XML.Document(); I've noticed at least two calls instead of one.

 

And in Query edit mode it's even worst.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.