Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I have the matrix of 5 levels. The 2nd and 3rd columns are measures.
From the 4th level, all the rows have the same value.
- I would like to display the value of each line, not the total of that level.
- in the last level, I would like to display only items of that level, not all the existing row
Thank you in advance for your advise.
Tg
Hi @vnqtrang ,
- I would like to display the value of each line, not the total of that level.
- in the last level, I would like to display only items of that level, not all the existing row
The ISINSCOPE function is very useful, you can use it to determine which hierarchy it belongs to and output different results.
For example, the output [Measure] is determined when the hierarchy is [Column5].
Measure 2 = IF(ISINSCOPE('Table'[Column5]),[Measure])
Please refer:
Use IsInScope to get the right hierarchy level in DAX
If I have misunderstood your needs, feel free to contact me. You may also consider sharing more data and expected output, it will be very helpful to solve the problem, thanks in advance!
How to provide sample data in the Power BI Forum
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi,
Thank you for your reply.
my data comes from 3 different tables, and the 1st and 4th columns are not measures, but the 2 and 3rd are measures.
When I use your measure, it doesn't filter on the Rows with empty values, and there is no total of each row.
The expecting result is to remove the rows which are not in the hierarchy.
Tg
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |