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
Anonymous
Not applicable

Pivot Data

Hi,

 

I am relevatively new to Power BI and have looked through a few of the previous posts regarding pivtoing data but I dont seem to find what I need. Below is an example data set, where the numer of sales of each car in each month is represented in the Mar-18/Apr-18 columns.

 

CarPriceMar-18Apr-18
Nissan$50012
Toyota$70034

 

What I need to do is pivot the data from the Mar-18 column, creating two new columns, Month and Sales and adding extra rows.

 

CarPriceMonthSales
Nissan$500Mar-181
Nissan$500Apr-182
Toyota$700Mar-183
Toyota$700Apr-184

 

This can be done in tableau, but I am having trouble with Power BI. Maybe I am missing something, any ideas?

 

Many Thanks,

 

JBPowerBI

1 ACCEPTED SOLUTION
Seward12533
Solution Sage
Solution Sage

@Anonymous  The best place to do this in PowerBI is in the Query Editor. Highliht the columns you want to unpivot and then chose unpivot from the Transorm menu. capture20180724004154474.png

 

capture20180724004202185.png

 

 

View solution in original post

1 REPLY 1
Seward12533
Solution Sage
Solution Sage

@Anonymous  The best place to do this in PowerBI is in the Query Editor. Highliht the columns you want to unpivot and then chose unpivot from the Transorm menu. capture20180724004154474.png

 

capture20180724004202185.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!

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