Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello, I am using .NET 8 with Microsoft.AspNetCore.OData 8.2.5 package.
When I use an OData feed URL containing an $expand query in Excel or Power BI Desktop applications, only the expanded columns appear in the results.
For example, when using a URL like https://localhost:7289/odata/Books?$expand=authors only the author-related columns are displayed, while other columns from the Books entity are not loaded correctly.
I already started an OData issue in this regard, but it was closed with the fact that this issue is not caused by my code or the OData package, it is probably an Excel/Power BI Desktop issue.
Data not loaded correctly in Excel and Power BI Desktop with the use of $expand in OData feed · Issu...
The interesting thing is that the same and similar requests were still working a few weeks ago. We haven't changed anything in our code since then. From this I think that an Excel/Power BI Desktop update may cause the issue. What do you think about this?
Also, I would add that if I first load the data without expanding and then perform the expansion and then the filtering, it works that way, but it is obviously more inconvenient for our customers.
Hi @Anonymous ,
HI @peterkovecses,
I find this server seems deployed on localhost, have you applied any change to the OData server settings ? Any changes applied to the firewall rule or network policies? If that is the case, they may block the requests and affect the OData feed source usages.
Regards,
Xiaoxin Sheng
Hi @Anonymous
I wanted to follow up on our last conversation regarding the issue with using the $expand query in Power BI Desktop and Excel. Since my last update, I have checked the case several times. Unfortunately, the issue persists with all current versions of the OData API, including the pre-release.
To recap, here’s what we’re observing:
- When using an OData feed URL that includes an $expand query, only the expanded columns are visible in Excel and Power BI Desktop, while other columns from the main entity are not being loaded correctly.
- This issue occurs regardless of the computer or network environment, suggesting that it's not related to local settings, firewall rules, or network policies.
Importantly, this functionality previously worked correctly with the same OData package version. We have not made changes to our code or the OData configuration that could explain this behavior change.
I'm concerned that this might be related to a recent update in Excel/Power BI Desktop that affects how these applications handle OData feeds with $expand queries. This issue has significant impacts on our ability to effectively use OData feeds in our projects.
Could you please escalate this issue to your engineering team for further investigation? Any advice or workaround you can provide in the meantime would be greatly appreciated.
Thank you for your attention to this matter.
Hi @Anonymous
No, I use completely default settings. Currently, if I create the simplest OData API using the current OData package on any computer, I experience the same thing. And as I wrote before, the function worked correctly with the same OData package and the same program code. I experienced the same thing not only in the case of localhost, but also in the case of a deployed app.
Hi @peterkovecses ,
What version of power bi desktop are you worked? Any specific state includes in your excel file? If you change to use excel data connector, did this issue still appeared?
Please share some more detail information about this issue, they should help us clarify your scenario and test to troubleshoot.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |