Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello Friends, can you help me on this calculation, I have a matrix visual with 2 columns say Item having values A,B,C on the Row header and year having values 2023,2024 and 2025 as column header and I have a measure which captures some numeric value on the Values. see the screenshot . I want that measure to be update such a way that it should the values of A for these 3 years and in the total part these values not be considered (Total = Sum of values - (sum of values for row A))
Solved! Go to Solution.
Hi @RENJITH_R_S
You can use isinscope function to manipulate the measure accorsing to hierarchie level .
The pbix with the example is attached
More information aboit isinscope here :
https://www.youtube.com/watch?v=DtOfcsS_pQw
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @RENJITH_R_S
You can use isinscope function to manipulate the measure accorsing to hierarchie level .
The pbix with the example is attached
More information aboit isinscope here :
https://www.youtube.com/watch?v=DtOfcsS_pQw
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Glad to help 🙂
This DAX should work, however there's probably a better way you can calculate this:
Measure =
SWITCH(
TRUE(),
HASONEVALUE(
{{YOUR_TABLE}}[ROW_COLUMN]
),
CALCULATE(
SUM(
{{YOUR_TABLE}}[VALUE_COLUMN/MEASURE]
)
),
CALCULATE(
SUM(
{{YOUR_TABLE}}[VALUE_COLUMN/MEASURE]
),
FILTER(
{{YOUR_TABLE}},
{{YOUR_TABLE}}[ROW_COLUMN] <> "A"
)
)
)Basically, calculate the measure normally unless there are more than one value present (the total row). If there are more values present, ignore the selected row of data (A).
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |