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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.