Forum Discussion
Forecast Next Month
Try something like this
measure =
var _max = maxx(date,date[Date])
return
if(format(today(),"YYYYMM") >=format(_max,"YYYYMM"), [revenue], [forecast])
or
measure =
var _max = maxx(date,date[Date])
return
if(format(today(),"YYYYMM") >=format(max(date[Date]),"YYYYMM"), [revenue], [forecast])
My Forecast Room Revenue Measure is :
Which is displaying forecast for all the dates, from the current month date.
FC Room Revenue = If( [FC ADR]=BLANK(),
BLANK(), [FC ADR]*[FC Occupied Room])
My Forecast Room Revenue Next Month Measure is:
want to display a Card Value, Like if current month is march, then it should April, and then April comes, then it will show May's Forecast.
forecast NextMonth = CALCULATE(
[FC Room Revenue],
FILTER(DimCalendar, MONTH(DimCalendar[Date]+1))
)This Measure is Broken, as you can see in the ScreenShot amitchandak
- v-kelly-msft6 years agoCommunity Support
Hi MH3 ,
Modify your measure as below:
forecast NextMonth = CALCULATE(
[FC Room Revenue],
NEXTMONTH(DimCalendar[Date]))
)I create sample data you can refer to,pls click here.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!- MH36 years agoHelper V