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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.