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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
anushaghi123
Helper II
Helper II

Dynamic Column Header

Hi,

 

Need help with Dynamic column header

I have attached the screenshot where have set of columns and created measure for all column.

When I select Month and Year it has to show same as screenshot Oct 2023..

Is there any way I can do it in Power BI desktop. Please let me know

anushaghi123_1-1706107212003.png

 

Thanks

 

 

1 REPLY 1
audreygerred
Super User
Super User

Hello! There is currently not a solution for dynamic column names. I would suggest having a card display the value of month and year if you need to have them appear for your users. The column headers would then just be MTD/YTD and people would know the month and year either by looking at their filters or from cards if you place them on the canvas. Alternatively, you could utilize dynamic visual titles and have teh year and month selected show up in the title of your matrix: Expression-based titles in Power BI Desktop - Power BI | Microsoft Learn





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.