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
raymond
Post Patron
Post Patron

Expand values of a JSON with a mix of records and lists

Hello everyone,

 

I have some trouble with a JSON file. After opening it and expanding the row with record items (see Image A) I received another column with a mix of records and lists (see Image B). However I couldnt manage to open them ALL at once. Of course I can expand one item but I need all the items.

 

Image AImage AImage BImage B

1 ACCEPTED SOLUTION
Vera_33
Resident Rockstar
Resident Rockstar

Hi @raymond 

 

It depends on the data in list and record, add another column, try Record.ToList otherwise thiscolumn, or check the type if type is list then actionA else actionB

View solution in original post

2 REPLIES 2
raymond
Post Patron
Post Patron

@Vera_33 : That worked.

It resulted in a couple of extra steps and finally merging all expanded columns together 🙂

Vera_33
Resident Rockstar
Resident Rockstar

Hi @raymond 

 

It depends on the data in list and record, add another column, try Record.ToList otherwise thiscolumn, or check the type if type is list then actionA else actionB

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.