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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

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

Hello,

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.

Kogo2071_0-1681933905681.png

 

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

 

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try the following methods.

vzhangti_0-1683170423706.png

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

vzhangti_1-1683170456703.png

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

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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