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
prakash11440278
Post Prodigy
Post Prodigy

Dynamic Column Headers in Matrix Filter Selection

Hi Power BI Experts,

I have a requirement to change the column headers dynamically once we change the filters in the report. As part of the workaround i have created cards to display as of now. That is not working when user making some allignements into the report, the layout is disturbing. Please help.

 

prakash11440278_0-1614683930983.png

 

prakash11440278_1-1614684069436.png

 

 

3 REPLIES 3
V-lianl-msft
Community Support
Community Support

Hi @prakash11440278 ,

 

Not sure how you calculated it.

See if the this thread will helps:https://community.powerbi.com/t5/Desktop/Dynamic-header-in-matrix/m-p/1543605 

If the problem persists,could you share the sample pbix via cloud service like onedrive for business?
Please remove any sensitive data before uploading.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@prakash11440278 , not very clear. because nothing is shown on screenshots

Two approach bookmarks

 

or Dynamically change the chart axis in Power BI
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

 

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

HI @amitchandak ,

Thanks for your reply.

I have a requirement to change the column header names dynamically for the filter selection. In the screen shot i have clearly mentioned that if you switch from one filter to other filter the column headers are changing. Please see the scree shot for your reference. Currently i have implemented static by using card visuals by writing the dax expressions. This is not a suitable approach when the user will select some other actions on the report. layout of the report is disturbing. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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