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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jawnac
New Member

NavigationProperty in $select in url generated by PowerBI

Having following structure: Car -> 1 - M -> Leases -> 1 - M -> Utilizations I want to find the count of Utilizations for each Car in Power BI. However the OData url generated by Power BI does not seem to be correct.

 

Reproduce steps

When opening Car feed and expanding Utilizations collection from Leases table Power BI uses following link to get the data:
odata/Cars?$expand=Leases($select=Id,Utilizations)

which is incorrect, because Utilizations is a NavigationProperty in Leases and in this case they are not returned.

 

Expected result

Utilizations collection is returned so that the user can aggregate on the results.

Correct link should be:
odata/Cars?$expand=Leases($select=Id;$expand=Utilizations)

 

Actual result

Utilizations collection is not returned. Only Id of each Lease is returned.

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @jawnac,

 

What do you mean about "Car feed and expanding Utilizations collection"? It seems you are trying to connect to OData feed, and the generated URL like this odata/Cars?$expand=Leases($select=Id,Utilizations). Where did you find this URL, Advanced Editor?

 

Can you share the same data for us to reproduce? It would be better if you could share the .PBIX file for our analysis.

 

Best Regards,
Qiuyun Yu

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.