Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 @v-shex-msft ,
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 @v-shex-msft
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
27 | |
3 | |
2 | |
2 | |
2 |