cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
brianscott0001
Frequent Visitor

OData - Using nested system queries for Table.ExpandTableColumn

I'm attempting to perform nested expansion on an OData entity collection. The path I'm expecting is of the below form.

EntityCollection$expand=EntityNavigationProperty($expand=EntityCollectionNavigationProperty)

I attempted this by performing the following steps.

  1. Table.ExpandRecordColumn on "EntityNavigationProperty"
  2. Table.ExpandTableColumn on "EntityCollectionNavigationProperty"

However, when using Table.ExpandTableColumn, it seems to perform a navigation similar to the following.

EntityCollection(key1)/EntityNavigationProperty?$expand=EntityCollectionNavigationProperty

The source I am connecting to does not implement navigation properties using this syntax, and it is undesirable to fetch the data in this fashion, because it results in one web call per entity.

Is there some steps I can change or perform to instead fetch the data in a single web call such as how the first url format?

 

1 REPLY 1
Icey
Community Support
Community Support

Hi @brianscott0001 ,

 

I know little about "nested expansion on an OData entity collection".

 

Could you share me a sample to show the initial and expected result of this expression?

EntityCollection$expand=EntityNavigationProperty($expand=EntityCollectionNavigationProperty)

 

 

Best Regards,

Icey

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Kudoed Authors