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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.