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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bml123
Post Patron
Post Patron

Double heading matrix with calculated columns

I have some calculated columns and need double headings as below. All the columnsI just want to group the column headings and they are not linked to the data. Please can someone help on how to achieve this. 

 

Capture.PNG

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@bml123 yes it is possible to achieve this result. first you organize your data in below order. Then using matrix visual, you can create output table as per your need.

 

negi007_0-1599068753052.png

 

negi007_1-1599068763986.png

 

 




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



Proud to be a Super User!


Follow me on linkedin

View solution in original post

8 REPLIES 8
negi007
Community Champion
Community Champion

@bml123 yes it is possible to achieve this result. first you organize your data in below order. Then using matrix visual, you can create output table as per your need.

 

negi007_0-1599068753052.png

 

negi007_1-1599068763986.png

 

 




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



Proud to be a Super User!


Follow me on linkedin

Thank you. How do I arrange the data in that order? Do I need to do unpivot?

negi007
Community Champion
Community Champion

@bml123 You would need alleast 3 columns (1. for Calculation type 2. Target 3. Actuals) I suggest you to share your data, I will then assist you accodingly. 




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



Proud to be a Super User!


Follow me on linkedin

Thank you. I could organise the data as you mentioned. I followed the link below for any one needing help like me.

https://kohera.be/blog/power-bi/how-to-unpivot-twice/

I don't want to use text box as the width of the columns are not fixed.

Is there any other easy way?

@bml123 , check 2-3 links I shared

Pragati11
Super User
Super User

Hi @bml123 ,

 

Create 3 text boxes for the following:

  1. Month
  2. YTD
  3. MTD

Place these text boxes just above the headers of the matrix that you want to be included under these headings.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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