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
PBI_newuser
Post Prodigy
Post Prodigy

How to Unpivot merge columns

Hi, I have a set of data with merge "month" column. How to unpivot it to have the expected output?

 

Raw Data:

 Oct-20Nov-20Dec-20Jan-21Feb-21Mar-21
NameCustomer CountSales AmountCustomer CountSales AmountCustomer CountSales AmountCustomer CountSales AmountCustomer CountSales AmountCustomer CountSales Amount
A356456687897892564566378978985645662789789
B567867863455642678678534556466786782345564
C623423432323425234234623234232342345232342
D267867855675679678678256756756786789567567
E534534523454567345345534545623453457345456

 

PBI_newuser_0-1630910488717.png

 

Expected Output:

NameMonthCustomer CountSales Amount
AOct-203564566
BOct-205678678
COct-206234234
DOct-202678678
EOct-205345345
ANov-208789789
BNov-206345564
CNov-203232342
DNov-205567567
ENov-202345456
ADec-202564566
BDec-202678678
CDec-205234234
DDec-209678678
EDec-207345345
1 ACCEPTED SOLUTION
FarhanAhmed
Community Champion
Community Champion

Hi,

 

Can you please check if attached PBIX file contains the solution you are looking for.

 

The steps that need to be applied are

 

FarhanAhmed_0-1630911157113.png

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




View solution in original post

1 REPLY 1
FarhanAhmed
Community Champion
Community Champion

Hi,

 

Can you please check if attached PBIX file contains the solution you are looking for.

 

The steps that need to be applied are

 

FarhanAhmed_0-1630911157113.png

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




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 community update carousel

Fabric Community Update - June 2025

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