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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
vips
Frequent Visitor

Transforming values in a single column to column header

I have the following data

 

Product IDYear ShippedMonth Shipped$

 

Month has values: Jan, Feb, Mar ... Nov, Dec 

 

Need to transform this to:

Product IDYear ShippedJanFebMarApr...NovDec$

 

Given that I am a newbie at Power BI, would appreciate pointers that a newbie can follow.

 

Many thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @vips ,

 

I'm not sure whether you need to change your data model or show your data like that?

 

If you don't need to change your data model, you can use Matrix to make it like the below screenshot.

Transforming values in a single column to column header.PNG

 

Aiolos Zhao

 

View solution in original post

5 REPLIES 5
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, it is easily to reach your requirement by using matrix visual.

Here is my test table:

50.PNG

Then choose a matrix visual and turn off Stepped layout for Row headers:

51.PNG

The result shows:

52.PNG

Hope this helps.

 

Best Regards,

Giotto Zhi

Anonymous
Not applicable

@vips 

 

And if you want to change your data model, you can use the Pivot function in the Power Query Editor.

 

1. Select the Month Shipped column

2. Click Pivot Column in Transform tab

3. Choose $ column, click OK

Transforming values in a single column to column header 2.PNG

 

Aiolos Zhao

amitchandak
Super User
Super User

The best you can do

Product , year shipped, jan , feb , mar.

 

In case you need another column at the end, then you might have created a static column that will not be dynamic

I already submitted an idea for that please vote

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39773011-hybrid-table

Hybrid.png

 

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @vips ,

 

I'm not sure whether you need to change your data model or show your data like that?

 

If you don't need to change your data model, you can use Matrix to make it like the below screenshot.

Transforming values in a single column to column header.PNG

 

Aiolos Zhao

 

This worked great!! Thanks!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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