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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
dvdbroek
Frequent Visitor

Loop through a list of tables where the values need to be transponed for each table

Dear PowerBI Kings and Queens,


Currently i'm working with an API call / data set wich gives me an list / table wich contains sub tables:

 

Tables.png

 

Each table contains 2 text values:

table2.PNG

 

 

 

The task im trying to complete is to make a singel table where the values of each sub tables are transposed like below:

 

Column1 |  Column2

   Row1          Row2

 

If I expand the higher table at once I get a list like below:

 

Table3.PNG

 

Could someone help me or have the solutions for my problem?

 

Much thanks in advance!

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

to know how to do this watch my video

= Table.TransformColumns(
#"Removed Other Columns" , {"Custom", (x)=> Table.FromRows({ Table.ToList(x)})
})

https://1drv.ms/v/s!AiUZ0Ws7G26Ri15AJLAtinpjwfR6?e=YWSUhL

View solution in original post

2 REPLIES 2
dvdbroek
Frequent Visitor

Thnx it worked perfectly!

Ahmedx
Super User
Super User

to know how to do this watch my video

= Table.TransformColumns(
#"Removed Other Columns" , {"Custom", (x)=> Table.FromRows({ Table.ToList(x)})
})

https://1drv.ms/v/s!AiUZ0Ws7G26Ri15AJLAtinpjwfR6?e=YWSUhL

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.