Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
trying to show the end balance. Using the below does not work,
SUM(IF(SettlementOrder=(MAX( SettlementOrder)),Balance))
If I add the "TOTAL" it works, but I need this figure for each date.
SUM(IF(SettlementOrder=(MAX(TOTAL SettlementOrder)),Balance))
TOTAL gives me one single value (based on largest historical SettlementOrder-number)
Any clues?
Kind REgards,
Olle
Hi,
Try this expression
=SUM(Aggr(IF(SettlementOrder= (MAX(TOTAL <Date> SettlementOrder)), Sum(Balance)), Date, SettlementOrder))
Regards,
Jagan.
Can you please provide sample data?
Maybe:
SUM(IF(SettlementOrder=(MAX(TOTAL<Date> SettlementOrder)),Balance))
Can you provide more data, an example or screenshot? are you using this expression in a chart? what are your dimensions?
Hi,
SUM(IF(SettlementOrder=firstsortedvalue(TOTAL SettlementOrder,-SettlementOrder)),Balance))
Hope this helps
or try removing total also if that doesn't work
Put the 'if' outside of 'Sum'. Like IF(SettlementOrder=MAX( SettlementOrder),Sum(Balance))
Hi Gabriela,
not working Im afraid. And non of the below suggestions either.
But here comes a sample file!
Thanks in advance,
Olle
=Sum(IF(SettlementOrder=($(=MAX( SettlementOrder))),Balance))
PFA
Hi tresesco,
still just giving me the one balance (from the date with the largest amount of transactions). I need to show the end balance for each date.
Kind Regards,
Olle
Hi,
Try this expression
=SUM(Aggr(IF(SettlementOrder= (MAX(TOTAL <Date> SettlementOrder)), Sum(Balance)), Date, SettlementOrder))
Regards,
Jagan.