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
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
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.