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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
GE1
Advocate I
Advocate I

Dynamic Column Headers with Dates

For some reason I can't find the way to change the name of a column in a table or matrix dynamically. I can change the table title with a function, but not the column names.

I have a table (or matrix) with measures as the columns:
Column 1 is current month; Column 2 is previous month; Column 3 is the difference between Cols 1 and 2; Column 4 is 12 months ago; Column 5 is the 12 month average.

I want the names of the columns to change each month. So they would say:
Jul 24; Jun 24; Month Change; Jul 23; Aug 23-Jul 24 Average.

Obviously, next month they would say:
Aug 24; Jul 24; Month Change; Aug 23; Sep 23-Aug 24 Average.

Other than sticking cards over every column name(!) how can I do this?

Thank you

1 REPLY 1
lbendlin
Super User
Super User

You will need to use a calculated table to generate these column names during each semantic model refresh.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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