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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
ak77
Post Patron
Post Patron

Subheaders for matrix

Hi all,

 

Not sure if this was discussed before.. so posting. please check if possible and let me know

 

i have a matrix with time measures for Returns and Market value . i need a subheader Returns and Market value displayed as above for matrix. is there a way to achieve this

 

ak77_0-1718827443725.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from @ExcelMonke , please allow me to provide another insight:
Hi,@ak77 
Regarding the issue you raised, my solution is as follows:

1.First I have created the following table and the column names and data are the data you have given:

vlinyulumsft_0-1718871091013.png

3.Create calculated column references:

 

sam = 
VAR cc=RANDBETWEEN(0,1)
RETURN IF(cc=1,
"Returns",
"Market value ")

 

But there are also specific MTD columns, QTD columns, and YTD columns that need to be created based on your specific data structure.


4.Then set the visual object as follows:

vlinyulumsft_1-1718871134536.png

5.Here's my final result, which I hope meets your requirements

vlinyulumsft_2-1718871154184.png

Please find the attached pbix relevant to the case.

 

Best Regards,

Leroy Lu

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

 

 

 

 

View solution in original post

3 REPLIES 3
ExcelMonke
Super User
Super User

Hello,

Your question is not quite clear. Could you rephrase? 

Based on your current explanation, this can be done by moving the column with the Returns/Market Value values into the columns section of your matrix.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi @ExcelMonke 

 

Thanks for reply.. my question was can we add a sub header to group of columns.. Returns/Market Value are the 2 subheaders for each set of MTD , QTD and YTD matrix columns 

 

Can u please let me know.. do u have a sample to share? this wil help me a lot

 

Anonymous
Not applicable

Thanks for the reply from @ExcelMonke , please allow me to provide another insight:
Hi,@ak77 
Regarding the issue you raised, my solution is as follows:

1.First I have created the following table and the column names and data are the data you have given:

vlinyulumsft_0-1718871091013.png

3.Create calculated column references:

 

sam = 
VAR cc=RANDBETWEEN(0,1)
RETURN IF(cc=1,
"Returns",
"Market value ")

 

But there are also specific MTD columns, QTD columns, and YTD columns that need to be created based on your specific data structure.


4.Then set the visual object as follows:

vlinyulumsft_1-1718871134536.png

5.Here's my final result, which I hope meets your requirements

vlinyulumsft_2-1718871154184.png

Please find the attached pbix relevant to the case.

 

Best Regards,

Leroy Lu

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

 

 

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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