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
Alsapeter
Regular Visitor

Dynamic Column Header

I need to display the values for current month (chosen from a slicer), previos month (which is a measure) on a table visual in Power BI.However, when I chose the reporting month in the slicer, the column headers are seen as Measure Names as opposed to the Current Month, Previous Month e.g. 202212, 202211 - This is how it needs to be shown. Does anyone have any ideas?

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Alsapeter 

 

Currently the measure names cannot be changed dynamically according to selected values. Measure names and their formula are stored as meta data in the model without considering the actual data used in them so they should be fixed values. 

 

From your screenshot, the matrix visual has other measures [Limit] and [MoM] whose names seem not need to be changed, so there is no good workaround or alternative method currently. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thank you, appreciate your response

Alsapeter
Regular Visitor

Below is a screenshot of the question I am asking, I need CurrentMonth to show 2022-02, Previous Month to show 2022-01, previous to previous month to show as 2021-12screenshot1.PNG

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 MSCUST for a $150 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.