cancel
Showing results for
Did you mean: Frequent Visitor

## Forecast help. Using remaining months from prior year for current full year forecast.

Forecast help. Using remaining months from prior year for current full year forecast.

I am using prior year actuals as the forecasting portion for the remaining months to complete my current year full year forecast. For example, YTD actuals would be Jan-Aug + Sep-Dec (Prior Year) = Current Year Forecast.
With this current formula, I am running into trouble when trying to graph multiple years because the Forecast piece for my current year forecast is showing up on top of the prior year actuals. So if last year the revenue was \$120M (10m/month). My bar graph reflecting 2020 is showing \$160M, which is \$120M + \$40M.

My revenue measure are:
Revenue = SUM('Table1'[Revenue])
YTD = Calculate([Revenue],Table1[Month]=Jan || … Table1[Month]=Aug ||)
Projection = Calculate([Revenue],Table1[Month]=Sep|| … Table1[Month]=Dec)

Forecast FY21 = YTD+Projection

Revenue Forecast =
CALCULATE([Forecast FY21],
FILTER(ALL( 'Date'[Dates]),
'Date'[Dates] <= MAX( 'Date'[Dates])))

1 ACCEPTED SOLUTION  Super User

Sorry, I misunderstood the task. Try:

``````Forecast =
IF( MAX ( 'Date'[Fiscal Year] ) <= YEAR ( TODAY() ),
[.Sum Revenue],
SUMX (
SUMMARIZE ( 'Date', 'Date'[Fiscal Year], 'Date'[Month Name] ),
"_forecast", [Revenue FC based on Month Today]
),
[_forecast]
)
)``````

In doing so, you are also helping me. Thank you!

Proud to be a Super User!

6 REPLIES 6  Super User

@AldoJavier26 it will be easier if you share a sample pbix file, (remove sensitive information before sharing), use one drive/google drive to share the file.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.  Frequent Visitor  Super User

See if this works:

Create these measures.

``````Revenue FC based on Month Today =
VAR PY =
CALCULATE (
[.Sum Revenue],
FILTER (
ALL ( 'Date'[Fiscal Year] ),
'Date'[Fiscal Year]
= MAX ( 'Date'[Fiscal Year] ) - 1
)
)
VAR TDY =
IF ( MONTH ( TODAY () ) < 5, MONTH ( TODAY () ) + 8, MONTH ( TODAY () ) - 4 )
VAR Res =
IF ( MAX ( 'Date'[Fiscal Period] ) >= TDY, PY, [.Sum Revenue] )
RETURN
Res
``````

And

``````Forecast =
SUMX (
SUMMARIZE ( 'Date', 'Date'[Fiscal Year], 'Date'[Month Name] ),
"_forecast", [Revenue FC based on Month Today]
),
[_forecast]
)

``````

To get: I've attached the sample PBIX

In doing so, you are also helping me. Thank you!

Proud to be a Super User! Frequent Visitor

Paul - Fiscal year 2021 & 2020, dont seem to show the full year actuals with this measure. Wanting the measure to give me these results:

2020 = \$60,000

2021 = \$120,000

2022 = \$150,000  Super User

Sorry, I misunderstood the task. Try:

``````Forecast =
IF( MAX ( 'Date'[Fiscal Year] ) <= YEAR ( TODAY() ),
[.Sum Revenue],
SUMX (
SUMMARIZE ( 'Date', 'Date'[Fiscal Year], 'Date'[Month Name] ),
"_forecast", [Revenue FC based on Month Today]
),
[_forecast]
)
)``````

In doing so, you are also helping me. Thank you!

Proud to be a Super User! Frequent Visitor

Thank you so much !   