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
bodol32
Microsoft Employee
Microsoft Employee

Power Query Unpivot, then next

Hello,

 

I want to know how I can create Table C  from Table A  in Power Query. 

Using Unpivot, I come to have Table B, now I  am struggling to find a solution to create Table C.

Please help!

 

Table A

image.png

Table B

image.png

Table C

image.png

 

 

 

1 ACCEPTED SOLUTION
bodol32
Microsoft Employee
Microsoft Employee

I have solved this!!

 

First, select date columns and 'Unpivot Column'

then, select item column and  'Pivot Column'

done!

image.png

View solution in original post

3 REPLIES 3
AlB
Community Champion
Community Champion

Hi @bodol32 

It looks like you just have to pivot Item and Value in table B and that should be it. If you paste the first table here in text-tabular form (instead of a creen capture) I can run a quick test and post the exact steps (if you do need that ).

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs

Cheers 

SU18_powerbi_badge

   

bodol32
Microsoft Employee
Microsoft Employee

Hey AiB

 

Thank you for sharing your experties here.

 

SiteItem1/1/20192/1/2019
Site Aaaa108
Site Abbb2016
Site Baaa1512
Site Bbbb2520
Site Caaa54
Site Cbbb64.8
bodol32
Microsoft Employee
Microsoft Employee

I have solved this!!

 

First, select date columns and 'Unpivot Column'

then, select item column and  'Pivot Column'

done!

image.png

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.