Forum Discussion
admin11
5 years agoMemorable Member
How to modify expression return Feb 2021 Amount ?
Hi All I have below YTD expression working fine :- _YTD EXP = CALCULATE(CALCULATE(GL[AMOUNT],DATESYTD('Date'[Date],"12/31")), GL[1_EXP] = "EXP") Can some one help me to modify the above ...
admin11
5 years agoMemorable Member
i Just finish watching the youtube.
I try to change the Y to M :-
_MTD EXP = CALCULATE(CALCULATE(GL[AMOUNT],DATESMTD('Date'[Date],"12/31")), GL[1_EXP] = "EXP")
I get error msg :-
mohammedadnant
5 years agoImpactful Individual
HI admin11
Try this 2 formulas..
TOTALMTD(GL[AMOUNT], 'DATE'[DATE], ALL('DATE'[DATE]), GL[1_EXP] ="EXP")
TOTALYTD(GL[AMOUNT], 'DATE'[DATE], ALL('DATE'[DATE]), GL[1_EXP] ="EXP", "02/28")
Thanks & Regards,
Mohammed Adnan