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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

Top Solution Authors