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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Sander_NL
Helper I
Helper I

Import JSON file not able to expand to new rows

Good day!

 

I'm trying to work with a JSON file within PowerBI. For most of the entries I can do "expand to new rows" but I've also a few columns with data and the List value in the same column and I'm not able to expand the data. How can I solve this?

 

Sander_NL_0-1644052907209.png

 

Sander_NL_1-1644052945768.png

 

 

1 ACCEPTED SOLUTION
Vera_33
Resident Rockstar
Resident Rockstar

Hi @Sander_NL 

 

You can do a if statement to change the type to list, but if you have many columns with list like the screenshot, you might need to consider other ways instead of expanding each column...

if Value.Is([yourColumn], type list) = true then [yourColumn] else {[yourColumn]}

 

View solution in original post

2 REPLIES 2
Sander_NL
Helper I
Helper I

Thanks Vera this solves the problem!

Vera_33
Resident Rockstar
Resident Rockstar

Hi @Sander_NL 

 

You can do a if statement to change the type to list, but if you have many columns with list like the screenshot, you might need to consider other ways instead of expanding each column...

if Value.Is([yourColumn], type list) = true then [yourColumn] else {[yourColumn]}

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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