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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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