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
ABHIPRAYAM
Frequent Visitor

Unpivot and Pivot Power Qurey trnsformation

Hi All,
Please help me out in this table transformation in power query Thanks in advance

Screenshot 2023-07-18 092507.png

 

1 ACCEPTED SOLUTION
rubayatyasmin
Super User
Super User

Hi, @ABHIPRAYAM 

 

I got a way to achieve the result in  Excel power query. 

 

rubayatyasmin_0-1689654803497.png

 



Select 2022,2023, 2024 columns then click unpivot. then create the conditional column. 

 

here is the solution file

 

Note: file will be automatically deleted after download. 

 

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


View solution in original post

3 REPLIES 3
rubayatyasmin
Super User
Super User

Hi, @ABHIPRAYAM 

 

I got a way to achieve the result in  Excel power query. 

 

rubayatyasmin_0-1689654803497.png

 



Select 2022,2023, 2024 columns then click unpivot. then create the conditional column. 

 

here is the solution file

 

Note: file will be automatically deleted after download. 

 

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Thank you so much @rubayatyasmin 

Happy to help. Please accept the answer as a solution so that others may find it easily. appreciate the kudos


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


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.