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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Urgent Help --- Displaying month names as a column header in table

Hi everyone,
   I want to show the multiple columns along with measures also shown in a table format.
I have a issue in one of the measure in that measure I am displaying month wise calculations in charts its showing correct but in table
I dont know how to give the measure of the month names in column header..
The measure is 
Forecast Amount =
VAR tmpCalendar = ADDCOLUMNS('Calendar date',"Month",MONTH('Calendar date'[Date]),"Year",YEAR('Calendar date'[Date]),"MonthYear",VALUE(YEAR('Calendar date'[Date]) & FORMAT(MONTH('Calendar date'[Date]),"0#")))
VAR tmpBilling = ADDCOLUMNS(Test,"MonthYearBegin",VALUE(YEAR(Test[hclmma_startdate]) & FORMAT(MONTH(Test[hclmma_startdate]),"0#")),
"MonthYearEnd",VALUE(YEAR(Test[hclmma_enddate]) & FORMAT(MONTH(Test[hclmma_enddate]),"0#")))
VAR tmpTable =
SELECTCOLUMNS(
FILTER(
GENERATE(
tmpBilling,
SUMMARIZE(tmpCalendar,[Year],[Month],[MonthYear])
),
[MonthYear] >= [MonthYearBegin] &&
[MonthYear] <= [MonthYearEnd]
),
"Total",Test[Net CIM],
"Count of Days",Test[Days in Month],
"Remaining Days",Test[Dayys]
)
RETURN SUMX(tmpTable,([Total]/[Count of Days])*[Remaining Days])
I dont know how to display the measure into month of column header in table other measures and other columns are added into table is working but the month wise is not working I dont want to show in matrix chart also. I need your help. kindly help me as soon as possible.
Advance thanks to all,
1 REPLY 1
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

 

In table visual,  the measures and columns will show what we name in column header. It is not supported to show headers dynamically. We do it in matrix for now.  But you say you don't want to use it. Unfortunately, there is not a workaround that can resolve it. You could vote up the idea: Dynamic Column Names in a table to get the feature fixed quickly. 

 

 

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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