create a formula to show actual and forecast in same line




I need to be able to show actual data and forecast in same line item. 


I have an actuals line item, forecast line item, then total view line item. 


Formula i have written is IF Time filter.Actual Months THEN Actual ELSE Total Forecast


It returns the forecast but I should be able to see actual months data, it returns 0. 

Best Answer

  • usman.zia
    Answer ✓

    Hi @hinamahmood1994 


    I would recommend the best way to do this is to use the anaplan versions and leverage the switchover functionality.

    Then use the switchover functionality within the version settings to take the actuals up until the forecast starts in the forecast version. Switch over is a setting in the version settings or in the module blue print view.


    The switch over is explained here:

    Select the checkbox if you want the switchover date defined for model versions to be applied to a line item. A line item must have versions applied for the checkbox to be enabled. The list of available time periods depends on other settings in your model; see Time Period Selection.

    You can set the switchover date for versions in Model Settings > Versions.

    Switchover does not apply to the Actual version.


    However if in your architecture you have not used the versions then you could also do the method you have described. 


    I believe that your 'Time filter.Actual Months' may have different dimensionality to the module you are doing the calculation in that is why it is not referencing and collecting the boolean condition to display the actual values. If you perform a drill down and it does not show the boolean condition or says not available then this will be the issue that needs to be resolved.


    I hope this helps,