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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anushkas2003
Regular Visitor

How do I make the value for each hierarchy level independent of other levels 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 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

 

I began playing with some measures and below I ahve included what I have come up with so far. I know I must not use SUM but I do not know what else to do. Can someone please help me write this code in a way that achieves my goal above!

 

I need to solve this urgently, so any help would be amazing!

Thank you!

StatusMeasureCode.png

 

2 REPLIES 2
TheoC
Super User
Super User

Hi @Anushkas2003 

 

Can you kindly add example data and an example of the output you want.

 

Thanks,

Theo

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Hi @TheoC!

Here is the kind of data we are working with!

Anushkas2003_0-1681934360197.png

 

 

 

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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