Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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/
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |