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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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