Forum Discussion
Anonymous
4 years agoNot applicable
Making a rolling forecast
Hi all, I'm trying to make a rolling forecast in which you select a month and it gives you an overview of the revenue until that month and the budget until the end of the year. Right now i got this:...
amitchandak
Super User
4 years agoAnonymous , with help from date table
till date
YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
Complete year
This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))
or
This Year = CALCULATE(sum('Table'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))