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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Unable to expand columns in Power BI

Hi All,

I am trying to connect to REST API using web as a connection. After I load the data, I converted the list to table and I can see all the columns now, but there are few columns which are still not expanded and it is showing as [RECORD] for all the line items. "Expand to table" option is missing. Can someone please let me know how to get the column values populated in the same table.

 

Capture.PNG

 

Capture.PNG

Thanks

Poojitha

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I got it working now. Code is as below

TransformToList = Table.TransformColumns(#"Expanded Value1", {{"column Name", each if Value.Is(_, type record) then _ else [a=_]}}),

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Advanced editor code as been updated in the question.

Anonymous
Not applicable

I got it working now. Code is as below

TransformToList = Table.TransformColumns(#"Expanded Value1", {{"column Name", each if Value.Is(_, type record) then _ else [a=_]}}),

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

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

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.