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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
LPenatti
Helper II
Helper II

Expand Record field using OData query

Hi everyone,

 

I'm building a report that uses OData as the data source.

 

As this data source has a lot of information, I'm creating a filter directly in the query, using $select=id,change
However, the change column is a Record type column, and has a bunch of fields inside it. I want to extract only the operatorId column inside the change Record. How to do this directly via OData query?

question OData.jpg

 

I've researched in different forums and everything I found and tested didn't work.

The problem is my lack of knowledge in that language.

 

This is the best documentation I could find but even it did not help me to do what I need:

http://docs.oasis-open.org/odata/odata/v4.01/cs01/part2-url-conventions/odata-v4.01-cs01-part2-url-c...

 

This is what I've tried so far:
$select=id,change&$expand=change($select=operatorId)

Result_1.PNG


$select=id&$expand=change($select=operatorId)

Result_2.PNG


$select=id,change&$expand=change/operatorId

Result_3.png


$select=id,change/operatorId

Result_4.png

2 REPLIES 2
LPenatti
Helper II
Helper II

Hi @v-shex-msft,

Thanks for your reply on my question.

 

I found a workaround for my problem using this content from Microsoft: 

Optimize Power Query when expanding table columns

v-shex-msft
Community Support
Community Support

Hi @LPenatti,

It seems like they do not allow you to nest multiple level URL conversion queries.

I'd like to suggest you only apply one level expand in these formulas, then you can use power query expressions to continue the following operations.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.