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.
Hello,
I have a measure using this formula for a comment column on the very end of my matrix:
Solved! Go to Solution.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Score for name =
IF(
ISINSCOPE('Table'[Name]),
SUM('Table'[Score]),
IF(
ISINSCOPE('Table'[Class]),
BLANK(),
IF(
ISINSCOPE('Table'[Grade]),
BLANK(),
SUM('Table'[Score])
)
)
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Score for name =
IF(
ISINSCOPE('Table'[Name]),
SUM('Table'[Score]),
IF(
ISINSCOPE('Table'[Class]),
BLANK(),
IF(
ISINSCOPE('Table'[Grade]),
BLANK(),
SUM('Table'[Score])
)
)
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , refer for subtotals
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |