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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.