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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Netrelemo
Helper IV
Helper IV

DataSource.Error: OData: Unsupported query option encountered: $expand

I am using PowerQuery on a OData source pointing at MS Project Online. 

One of the columns in my query is type "Record".

When I expand the column, I can choose the columns I want, but the result is the error as titled...

DataSource.Error: OData: Unsupported query option encountered: $expand

 

Netrelemo_1-1674688706060.png

 

 

Netrelemo_0-1674758194712.png

 

 

What am I doing wrong? How do I solve it? 

3 REPLIES 3
Newtten
New Member

if you right click on the column you would like to expand, and select unpivot then you will be able to expand it 

Thanks @amitchandak,

I have seen those links already, but they are not helpful. 

 

Maybe I should rephrase my question: How do I convert a column of data type records to a column of data type table. I'm not expecting a solution, since the problem is not actually inPowerQuery, but rather in the underlying data provider. 

The PowerQuery function 

 

= Table.ExpandRecordColumn(Filtered, "Time", {"TimeMonthOfTheYear"}, {"Time.TimeMonthOfTheYear"})

 

would theoretically do the trick, but since the data provider bombs out, it won't work. So now I'm wondering if I must have some sort of custom function approach to read each record and extract this one field that I want from the record.  

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.