Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
phiga
Regular Visitor

Adjust forecast to account for actuals to date

Hello,

I have a budgeting pbi file which shows future sales forecast and actual sales volume to date, along with a combined actual + forecast column

As can be seen from the sample data below the total yearly forecast is for 3,000 and YTD actuals is 400 ( i.e. 100 units below forecast - YTD delta)

I would like a method to calculate the YTD delta (difference between forecast and actual), calculate the number of remaining months (10 in the example) and then adjust the forecast value so that the yearly total of actual + adj forecast is equal to the original forecast for the year.

In the example below:
YTD delta is 100
remaining months = 10

Therefore Adj forecast would equal 250 + (100/10) = 260

Thanks in advance for any guidance

DateForecastActualActual + ForecastActual + Adj Forecast (expected result)
01/01/2023250200200200
01/02/2023250200200200
01/03/2023250 250260
01/04/2023250 250260
01/05/2023250 250260
01/06/2023250 250260
01/07/2023250 250260
01/08/2023250 250260
01/09/2023250 250260
01/10/2023250 250260
01/11/2023250 250260
01/12/2023250 250260
TOTALs3000 29003000

 

1 REPLY 1
FreemanZ
Super User
Super User

hi @phiga 

not sure if i fully get your, you may try to add a calculated column like:

Column = 
IF(
    [Actual]<>BLANK(),
    [Actual],
    DIVIDE(
        SUMX(TableName, TableName[Forecast]) - SUMX(TableName,TableName[Actual]),
        DATEDIFF(
            MINX(FILTER(TableName, TableName[Actual]=BLANK()), TableName[Date]), 
            MAXX(TableName, TableName[Date]), 
            MONTH
        )+1
    )
)

 

it worked like:

FreemanZ_0-1678114171377.png

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.