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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
sanjaymithran
Helper I
Helper I

Matrix Table -Multiple columns image like below

Hi All,

Need to create Matrix table like below,Please suggest

sanjaymithran_0-1758033793626.png

Thanks in Advance

8 REPLIES 8
v-ssriganesh
Community Support
Community Support

Hello @sanjaymithran,

We hope you're doing well. Could you please confirm whether your issue has been resolved or if you're still facing challenges? Your update will be valuable to the community and may assist others with similar concerns.

Thank you.

 

Ashish_Mathur
Super User
Super User

Hi,

Share some data to work with and show the expected result.  Share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-ssriganesh
Community Support
Community Support

Hello @sanjaymithran,

Hope everything’s going great with you. Just checking in has the issue been resolved or are you still running into problems? Sharing an update can really help others facing the same thing.

Thank you.

v-ssriganesh
Community Support
Community Support

Hi @sanjaymithran,

Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to @MasonMA & @amitchandak  for sharing valuable insights.

 

Could you please confirm if your query has been resolved by the provided solutions? This would be helpful for other members who may encounter similar issues.

 

Thank you for being part of the Microsoft Fabric Community.

MasonMA
Resident Rockstar
Resident Rockstar

@sanjaymithran 

 

Hi, one of the ways would be first transform your data in Power Query by Unpivoting columns other than 'Region', 'Country' and 'Date' from 

MasonMA_0-1758037533330.png

to, 

MasonMA_1-1758037547961.png

Then in reporting, aggregate your Value with a SUM function, and use below sample DAX to Format them

Format=
VAR IsMargin = SELECTEDVALUE('Table'[Attribute]) = "Margin"
RETURN
IF (
     ISBLANK([ValueSum]),
     BLANK(),
     IF(
        IsMargin,
        FORMAT([ValueSum], "0.0%"),   -- Percent for Margin
        FORMAT([ValueSum], "$#,##0")  -- Currency for Sales/Profit
))

For the visual, use "Attribute" and Month Name for Columns, remove the name of "Attribute" from Column afterwards) 

MasonMA_1-1758044455785.png

 

 

 

 

 

Hi,

Thanks for the reply ,we can't use unpivot options because we have used other columns in report and Region ,country also used in diffrent report

Tried Calculation Groups but not able to filters zeros and blanks

Well, if you have to create this type of visual you can always duplicate it in Power Query and make a table just for the use of this Matrix. 

amitchandak
Super User
Super User

@sanjaymithran , You can do that using calculation groups 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors