Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |