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
Tevon713
Helper IV
Helper IV

Need help with display sub-header in matrix

Posting new thread in regard to older post.

 

I'm looking for new method to properly display a sub header in matrix. After creating calc within the measure, see post below. I ran into issue I can't figure out what best given the context and specific order the stakeholder wish it to be in. I was thinking along the line of creating another table and classifying the subheader to show it in matrix. Please advise if there another better approach. Thanks you all.

 

https://community.powerbi.com/t5/Desktop/Display-table-in-matrix/m-p/3103239#M1051919.

4 REPLIES 4
AmiraBedh
Resident Rockstar
Resident Rockstar

You can try to create a separate table that contains the subheader values and the corresponding classification. A workaround is to create a table with columns for "Month", "Quarter", and "Classification", where "Classification" is the subheader value and "Month" and "Quarter" are used to determine the order and grouping of the subheader values in the matrix.

You can create a relationship between it and the original data table, using the "Month" and "Quarter" columns as the keys. Then, you can add the "Classification" column to the Rows field in the matrix visual, and it should display as a subheader.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Thanks, tried with new table then linking it didn't work.

I strongly believe that some tasks we used to perform in Excel won't be applicable in PBI even if we can find workarounds that can impact the model performances. Otherwise can you share your pbix file  and let's give it a try ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

No worries, understood. Here's the pbi sample file. I still hope someone can help figure this out.

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.