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
charbaugh
Helper I
Helper I

Not sure how to even title this - transform 3 columns into 2

This may not be possible, but I wanted to ask the experts here.  I have a table that looks similar to this.

 

tbl1.PNG

 

I need to transform this so that my column headers are [Month Name], [Brand], and [Sales].  The output would have 3 rows for each month and would look something like this:

 

tbl2.PNG

 

I appreciate any help.

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @charbaugh 

 

You can use Power Query Editor's Unpivot task 

https://www.youtube.com/watch?v=-IMqkg35adA

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Sure, just right-click Month Name in Power Query Editor and choose Unpivot other columns.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Mariusz
Community Champion
Community Champion

Hi @charbaugh 

 

You can use Power Query Editor's Unpivot task 

https://www.youtube.com/watch?v=-IMqkg35adA

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

That was too easy.  Thanks!

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors