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! Request now

Reply
WhaleWatcher222
Helper II
Helper II

Add back Forecast into running total of the Actuals Value is blank

Hi Expert

 

See sample data image below...

WhaleWatcher222_1-1742483523316.png

from the above image the running total works up to Feb 25 - here is the challenge where the Actual data point for Mar 25 is blank i want to add back the forecast Value - So Mar 25 should be 147,183 + 8,948

 

Measure 1. (new forecast is the forecast column in the image)

New Forecasts = IF(ISBLANK([Total Actuals]),[Total Selected Forecasts],[Total Actuals])

 

Measure 2.

New Forecasts running total in Date = 
CALCULATE(
        [New Forecasts],
            FILTER(
                ALLSELECTED('Date'[Date]),
            'Date'[Date] <= MAX('Date'[Date])
        )
)   

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,@WhaleWatcher222 .I am glad to help you.

If you are trying to show the modified cumulative result in table visual, you can refer to my test below

Assuming that the values in the screenshot you provided are real column data (not measures)

vjtianmsft_0-1742521294370.png

My test data:

vjtianmsft_1-1742521348327.png

NewForecastsunningtotal = 
VAR _date =
    MAX ( 'TestTable'[Period] )
VAR _NewForecastsunningtotal =
    CALCULATE (
        SUM ( 'TestTable'[Actuals] ),
        FILTER ( ALLSELECTED ( 'TestTable' ), 'TestTable'[Period] <= _date )
    )
RETURN
    _NewForecastsunningtotal



Result = 
VAR _actuals = MAX('TestTable'[Actuals])
VAR _forecasts =MAX('TestTable'[Forecasts])
RETURN
IF(ISBLANK(_actuals),[NewForecastsunningtotal]+_forecasts,[NewForecastsunningtotal])

vjtianmsft_2-1742521381779.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,@WhaleWatcher222 .I am glad to help you.

If you are trying to show the modified cumulative result in table visual, you can refer to my test below

Assuming that the values in the screenshot you provided are real column data (not measures)

vjtianmsft_0-1742521294370.png

My test data:

vjtianmsft_1-1742521348327.png

NewForecastsunningtotal = 
VAR _date =
    MAX ( 'TestTable'[Period] )
VAR _NewForecastsunningtotal =
    CALCULATE (
        SUM ( 'TestTable'[Actuals] ),
        FILTER ( ALLSELECTED ( 'TestTable' ), 'TestTable'[Period] <= _date )
    )
RETURN
    _NewForecastsunningtotal



Result = 
VAR _actuals = MAX('TestTable'[Actuals])
VAR _forecasts =MAX('TestTable'[Forecasts])
RETURN
IF(ISBLANK(_actuals),[NewForecastsunningtotal]+_forecasts,[NewForecastsunningtotal])

vjtianmsft_2-1742521381779.png

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Carson - can you she some light on the following since you solved the above and the question is linkedin - no one on the community can solved it.

 

https://community.fabric.microsoft.com/t5/Desktop/Forecast-FY-is-incorrect-based-on-the-measures-use...

 

 

Hi Carson - They are measures created from a single column in  the FACT Table  - Apologies. and firstly many thanks for the feedback much appericated 

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.

Top Solution Authors