Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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/
User | Count |
---|---|
84 | |
76 | |
74 | |
48 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |