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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Donia2605
New Member

nested subform

Hi,

I am trying to retrieve OData from a table, a subform, and another nested subform using the following URL:

 

https://XXX/odata/XXX/ORDERS?$filter=CURDATE ge 2024-07-15T00:00:00Z&$expand=ORDERITEMS_SUBFORM($expand=ZUCC_SUBFORM)

 

It is working from the API but not in Power BI Desktop. its shown this error:

 

 DataFormat.Error: The odata.context url 'https://XXX/odata/XXX/ORDERS?$filter=CURDATE ge 2024-07-15T00:00:00Z&$expand=ORDERITEMS_SUBFORM($expand=ZUCC_SUBFORM)' is invalid


1 REPLY 1
Anonymous
Not applicable

Hi @Donia2605 ,

Regarding your issue, it seems that there is no problem with the URL, it just doesn't work in Power BI. You can try clearing the cache of Power BI Desktop and User Permissions. Or rolling back the 'Odata' version,I saw some articles mentioning that higher versions of odata cannot be used properly in Power BI Desktop.

 

Best Regards,
Wenbin Zhou

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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