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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Kudoed Authors