Forum Discussion
Making a rolling forecast
Anonymous , 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])))
- Anonymous4 years agoNot applicable
Thanks for your response! These measures won't show month 7 till 12 in a matrix still though right? The slicer makes it that only month 1 to 6 are shown.
- v-chenwuz-msft4 years agoCommunity Support
Hi Anonymous ,
To remove the slicer affecting you can use eidt interaction.
Or you can use the some measures with REMOVEFILTERS() to return values without affecting by slicer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.