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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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
Super User
Super User

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

   

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

I have solved this!!

 

First, select date columns and 'Unpivot Column'

then, select item column and  'Pivot Column'

done!

image.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors