We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hello,
I have one very simple measure that I have followed in other posts. With this measure, I want to remove the count for the 2nd hierarchy. I would like to count the number of related case for a parent case and show this only on the first hierarchy, which is the parent case. Currently, the measure only eliminates the total. I've read other posts and possible solution but nothing is working, not quite sure why. Thanks in advance.
Data:
Solved! Go to Solution.
Hi @Anonymous
please use
Related Case =
IF (
NOT ISINSCOPE ( Query1[Related Case Number] ),
COUNT ( Query1[Parent Case Number] )
)
@Anonymous
Please take care of the hierarchy you are using in the calculation because [Parent Case Number] will be true in both the cases
Thank you for your response ribisht17. Unfortunately it didn't work. When the ISINSCOPE() is false, it shows only the total and blank for both the parent and related case.
Hi @Anonymous
please use
Related Case =
IF (
NOT ISINSCOPE ( Query1[Related Case Number] ),
COUNT ( Query1[Parent Case Number] )
)
This works perfectly. Thanks a lot tamerj1!
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
19 | |
13 | |
11 | |
7 |