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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Convert a Json List into a table and add further columns

Hi,

 

I have a Json file that I have unpacked which has given me a table containing some flat values and some colums containing multiple values held as a Json list.

 

I would like to extract the column containing the multiple values into a new table but also take the Id colum of the table to act as a key back to the original table.

 

The table looks a little like this:

Table A

IdCountries
1List
2List

 

And what I'd like to achieve is this:

 

Table B

Table A.IdCountry
1USA
1France
2Great Britain
2Germany
2Italy

 

Any help would be greatly appreciated!

1 REPLY 1
MFelix
Super User
Super User

Hi @Anonymous ,

 

On the top of the query editor you should have a convert to table button, click next on the list values you should have to arrows if you click that you will get the expand values and the necessary result.

 

Follow the image below:

json.gif


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors