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’) [filter: 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!