Skip to main content
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.

Not applicable

Subject: How do I show an independent value of a subtask (hierarchy) in a matrix ?


I am trying to create a matrix where the rows are a set of tasks that need to be completed. The tasks have subtasks. Both the  tasks and the subtasks have statuses (that are independent of one another, i.e. task 1 (level 1) can be in progress, but a subtask can be completed). The statuses (icons) are the values in the matrix. However, I do not know how to set up the excel sheet and/or the hierarchy, to show these independent statuses.

Most hierarchy examples I have seen only talk about numerical data, but this is non numerical. Statuses include: Not Started, In Progress, Completed, At Risk, Delayed.


Below is the example of the matrix.



Here, the main task can have a different status as compared to the subtask's status. I know that ISINSCOPE needs to be used but do not know how to exactly resolve the issue. Can someone please help me write this code to achieve the end result?

Any help would be appreciated.


Thank you


Community Support
Community Support

Hi, @Anonymous 


You can try the following methods.


Measure = IF(ISINSCOPE('Table'[Task]),MIN('Table'[Status]),MAX('Table'[Status]))


Is this the result you expect?


Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

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


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.

Top Solution Authors