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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Drewd25
Frequent Visitor

Leverage M to expand, unpivot, and append each table in a table of tables, Power BI

Hello Everyone,

 

I have a table containing X list rows.

 

My goal is the following:

 

For each list in my table of lists =>

1. Convert each list to a table

2. After converting the current iteration's list to a table, expand that table.

3. After expanding the current row, unpivot it.

Next

 

I begin here with my table of lists after some initial manipulation

TableOfLists.png

 

I created a custom function to create a table in each row, and it worked well enough

 

ListToTable.pngListToTableIMG.png

 

My thought is that a second custom function could handle processing the expansion and unpivoting of each table, but I'm at a loss for how to proceed. Can any M gurus provide any insight? The goal is to effectively append each of these tables to one another, but only after the previously mentioned manipulations. This is EDGAR data, which is far from easy to work with in my experience.

0 REPLIES 0

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