Forum Discussion
Cali_2020
6 years agoHelper I
Current forecast vs previous forecast
Hello all, My apologies in advance if this has already been answered in a previous post but I haven't found a solution to what I am trying to do. On a monthly basis, my team performs a foreca...
Cali_2020
6 years agoHelper I
Hi az38 ,
This works great! Thank you! Just one more question, can I apply this measure to calculate the previous month's forecast? I tried the following but it returns the same results:
=CALCULATE([Forecast - Revenues],DATEADD(Data[Forecast Date],-1,MONTH))
Thanks again!
az38
6 years agoCommunity Champion
try
var _maxPrevDate = CALCULATE(MAX(Data[Forecast Date]),Data[Forecast Date]<=EOMONTH(TODAY(),-1))
do not hesitate to give a kudo to useful posts and mark solutions as solution