Hi Venkata,
Â
About the YTD - if you want to apply your yeartodate() formula until the switchover date, you will need to filter the switchover date's month.Â
 Â
The calculation you would use could look like this:
Yeartodate (‘X Metric - Actuals’) Afilter: Month=timedim (‘Switchover date’, Month)]Â
We filter the month dimension by selecting the switchover date that has been transformed into a month thanks to the timedim() function.Â
Â
Hope this helps! Â
Hi Venkata,
One other efficient way to filter out the forecast months would be to change the formula to
Yeartodate (‘X Metric - Actuals’) €filter: Month.'Start Date' <= 'Switchover Date']
That way you’re basing your filter on a Switchover Date metric, which can be later modified to include versions or scenarios.
Please tell me if this works for you!