Forum Discussion
Anonymous
5 years agoNot applicable
Last Date -1
Hi Everyone
i have a formula which works well for me
Daily revenue =
All i want is to calculate now is Last Date -1 ............( that would be prior day)
Can you help?
I tried max -1 , did not work
Hi Anonymous ,
Would you please try to use the following measure:
Daily revenue = CALCULATE(SUM('Daily Net Revenue TRIAL'[Actual]),FILTER('Daily Net Revenue TRIAL','Daily Net Revenue TRIAL'[Date] = MAX('Daily Net Revenue TRIAL'[Date])-1)If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
4 Replies
- amitchandak
Super User
Anonymous , Try like
CALCULATE(SUM('Daily Net Revenue TRIAL'[Actual]),LASTDATE('Daily Net Revenue TRIAL'[Date])-1)
- AnonymousNot applicable
i tried this earlier, did not work
- v-deddai1-msft
Community Support
Hi Anonymous ,
Would you please try to use the following measure:
Daily revenue = CALCULATE(SUM('Daily Net Revenue TRIAL'[Actual]),FILTER('Daily Net Revenue TRIAL','Daily Net Revenue TRIAL'[Date] = MAX('Daily Net Revenue TRIAL'[Date])-1)If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai