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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
dogt1225
Helper II
Helper II

Matrix Visual with two measures in a column

I have a matrix visual where the parent Category is Products and Sub Category is Engineer Name. (Infomation has been cutoff in screenshot for security purposes. )
I have two measures


  1. [Cat] is the percent of total by Product
  2. [SubCat] is the percent of total by Engineer within each Product. 

I am looking to create a combines column (last column within the screenshot), that only shows the [Cat] values when the hierarcy in the matrix is minimized and show both [Cat] and [SubCat] when the matrix is expanded to next level. 

With my current calculation the SubCat values are not appearing and showing all zeroes. 


Combine = 
IF(ISFILTERED('Volume'[Engineer Name]), [Cat], [SubCat])

 

Screenshot 2024-08-28 105429.png

1 ACCEPTED SOLUTION
_AAndrade
Super User
Super User

Hi @dogt1225,

Please try this formula:

 

Combine = 
IF(
    ISINSCOPE('Volume'[Engineer Name]),
    [SubCat],
    [Cat]
)


I hope this help you.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

2 REPLIES 2
_AAndrade
Super User
Super User

Hi @dogt1225,

Please try this formula:

 

Combine = 
IF(
    ISINSCOPE('Volume'[Engineer Name]),
    [SubCat],
    [Cat]
)


I hope this help you.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Idrissshatila
Super User
Super User

Hello @dogt1225 ,

 

try this 

 

Combine = 
IF(
    ISINSCOPE('Volume'[Engineer Name]),
    [Subcat],
    IF(
        ISINSCOPE('Volume'[Category]),
        [Cat]
        
    )
)

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.