Hi everyone,
I’m facing an issue in Anaplan when combining Actual, Forecast, and Budget data into a single line item using IF logic to get P&l
I want one calculated line item (revenue) that returns:
- Actual values in Actual periods
- Forecast values in Forecast periods
- Budget values in Budget periods
the actual data in single module but the forecast and budget are in same module together
What works
- If I replace module references with hardcoded numbers (e.g. 100 / 200), the logic works perfectly across time and version
🔹 What does NOT work
- When I reference the line items from:
DATA01 Actual P&LPL03 Forecast and Budget Calculation
…the result does not behave correctly (e.g., only Actual appears)
the formula is :
IF
'SYS02 Version Details'.Actual? AND 'SYS00 Time Settings'.Actual Period?
THEN
'DATA01 Actual P&L'.Net Operating Revenues
ELSE
IF
'SYS02 Version Details'.Budget? AND 'SYS00 Time Settings'.Budget Period ?
THEN
'PL03 Forecast and Budget Calculation'.Net Operating Revenues
ELSE
IF
'SYS02 Version Details'.Forecast? AND 'SYS00 Time Settings'.Forecast Period?
THEN
'PL03 Forecast and Budget Calculation'.Net Operating Revenues
ELSE
0