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
clubspec
Helper III
Helper III

How to transpose Day of Month columns to rows in a table?

Hi Folks,

 

I have data in Excel originally like below to be imported to Power BI:

Original.JPG

In the Edit Quries I want to transpose the month to a new column and have the amount show in a new column but keep the first 4 columns (BU, Obj Acc, Sub, Desription) unchanged, like below:

Expected.JPG

 

However, when I use the transpose function in "Transform" tab the first 4 columns will get transposed too.

Is there a way I can shape my data the way I expected?

Thank you your help in advance, I have tried so many different ways in Power BI but no success.  I really need someone's advice.

 

Raymond

1 ACCEPTED SOLUTION
MarkS
Resolver IV
Resolver IV

Hi @clubspec,

Sounds like Unpivot Other Columns will help you out.  Select the first four columns, then select Unpivot other Columns, and rename the new columns.

View solution in original post

2 REPLIES 2
MarkS
Resolver IV
Resolver IV

Hi @clubspec,

Sounds like Unpivot Other Columns will help you out.  Select the first four columns, then select Unpivot other Columns, and rename the new columns.

Thank you so much @MarkS

 

It works, didn't know it is that easy.  I'm a Power BI beginner.

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