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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Column names change automatically

Hello,
I'm working on a simple forecast data to produce some visualization. I got to the point where I have the Data in the below format to create my visualization (Promoting the first row as header)

davidGRM_0-1683039441627.png

 

The problem I find is the following month, when I pull a new report, all the columns 5 to 10 names will change as the month has progressed, and my visualization breaks, having to remove the first month, and add the new month (with all the correspondent formating etc)

 

How can I setup my visualization to use Column5 to Column10 as part of the Dataset, but in my visualization, display the column title with the correct name of the month

 

Regards

David

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , based on what I got.

Do not rename, Use the first row as the header.

 

Select all the columns other than a month and use unpivot other columns and then use the data, it should work better

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Power Query Table.Unpivot, Table.UnpivotOtherColumns: https://youtu.be/0FEGEAz9UMw

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks, I never though about that trick.
I now need to format a bit my visuals but I see the potential and it solves all my problems.

 

Thanks

amitchandak
Super User
Super User

@Anonymous , based on what I got.

Do not rename, Use the first row as the header.

 

Select all the columns other than a month and use unpivot other columns and then use the data, it should work better

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Power Query Table.Unpivot, Table.UnpivotOtherColumns: https://youtu.be/0FEGEAz9UMw

 

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

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

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.