Forum Discussion

Nikki's avatar
Nikki
Icon for Helper II rankHelper II
9 years ago
Solved

cumulative running total formula that doesnt continue to display past the values entered

  i have to show actuals, budget, forecast on a line/bar chart. the issue is that values for "actuals" stop in june but continue to show the same value till december. see pic. i created the running ...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Hi Nikki,

    I note that you have renamed ProjectActuals measure to Project Actuals.

    Right-Click your table and select "New measure", then enter one of following formula and check the result.

    ActualRunning = CALCULATE(Financials[Project Actuals],FILTER(ALLSELECTED(Financials[Month]),Financials[Month]<=MAX(Financials[Month])&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))

    ActualRunning = CALCULATE(Financials[Project Actuals],FILTER(ALLSELECTED(Financials[Month]), ISNOORAFTER(Financials[Month],MAX(Financials[Month]),DESC)&& MONTH(MAX(Financials[Month]))<=MONTH(TODAY())+1))


    If the issue still occurs, please share sample data of your table or share me the PBIX file.

    Thanks,
    Lydia Zhang