I've got this dataset :
I need to display in a Matrix, Week 1 vs Actual, Week 2 vs Actual, Week 3 vs Actual ...
I've tried this calculation
Actual CA :=
CALCULATE (
SUM ( 'All Scenario'[Amount] ),
FILTER ( 'All Scenario', 'All Scenario'[scenario] = "ACTUAL" )
)
Weekly CA :=
CALCULATE (
SUM ( 'All Scenario'[Amount] ),
FILTER ( 'All Scenario', 'All Scenario'[scenario] = "WEEKLY" )
)
Variance := [Actual CA] - [Weekly CA]
But this is what I get when I put the measures in a Matrix :