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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors