Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Remaining forecast

I have put this Dax together:

 

I expect that it will show only the remaining amounts after there are no actuals.

However, it just repeats the same amounts as in the column forecast.

 

RF =
VAR LastPeriodwActuals = CALCULATE( MAX (Forecast[Current Dates]), REMOVEFILTERS())
VAR RemainingForecast =
CALCULATE(
[Forecast1],
KEEPFILTERS('Calendar'[Date] >= LastPeriodwActuals)
)
RETURN

RemainingForecast

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    Sorry, I need more details. If possible, please provide some sample data(dummy data) and expected data. Please take care to protect privacy.

     

                                                                                                                                                             

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.