Dear,
I'm having an agregattion problem in the total of the Waterfall graphic.
In the table I have the correct amount: 1.200 but in the Waterfall it gives 5400.
Waterfall & Table
I have the following model:
Relations
Account Plan
CFFormat
Data
I have two formulas:
actual = sum(Data[Amount])
Consolidated Actual =
VAR subtotalactual = IF(COUNTROWS(CFFormat)=1;
CALCULATE([actual];ALL(CFFormat);CFFormat[FormatCode]<=VALUES(CFFormat[FormatCode])))
VAR iffiltered = ISFILTERED(AccountPlan[Classification2])
VAR subtotal = MAX(CFFormat[Subtotal])
RETURN
IF(AND(iffiltered=TRUE();subtotal=1);BLANK();
SWITCH(
TRUE();
SELECTEDVALUE(CFFormat[Subtotal])=0;[actual];
SELECTEDVALUE(CFFormat[Subtotal])=1;subtotalactual;BLANK()
)
)
I don't understand what should be different to have the correct total amount in the waterfall since the table gives me the correct cumullative amount.
Could you please advise?