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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
michaelmland
New Member

Power Query - Create list from table, pulling column and row labels into new list

Good morning,

 

I am working on payroll files, and the data that comes out of our payroll software in a table format. I need to use the row and column labels to create a list, which I will convert to a Journal Entry. So effectively, I am attempting to generate a list from a table, where for each value in the table, the new list has a column for the row labels and the column labels (green goes to green, pink to pink, orange to orange, etc).

michaelmland_0-1678460800880.png

Hopefully this illustration shows what I want to do, and why I want Power Query to do it.

1 ACCEPTED SOLUTION
DominoPBI
Frequent Visitor

Hi @michaelmland 

Did you try to use unpivot columns?

 

DominoPBI_0-1678462218720.png

 

View solution in original post

2 REPLIES 2
DominoPBI
Frequent Visitor

Hi @michaelmland 

Did you try to use unpivot columns?

 

DominoPBI_0-1678462218720.png

 

Thank you for bringing this feature to my attention! I selected both of my row label columns, then used "Unpivot Other Columns" to get exactly what I need.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.