To implement this recipe, perform the following steps:
- Create the following measures:
My Calculation =
VAR __Calculation =
CALCULATE(
SUM('R07_Table'[Value]),
'R07_Table'[Color] <> "Blue"
)
RETURN
__Calculation
- Create the following table:
R07_Debug =
VAR __Table =
FILTER(
'R07_Table',
'R07_Table'[Color] <> "Blue"
)
VAR __Calculation =
CALCULATE(
SUM('R07_Table'[Value]),
'R07_Table'[Color] <> "Blue"
)
RETURN
__Table
- On a Report page, create a Card visualization and place the My Calculation measure in the Fields area of the visualization.