Forum Discussion

pnm_100's avatar
pnm_100
Frequent Visitor
3 years ago
Solved

How to remove data from future dates in a cumulative calculation

Hi All,   I have an S-Curve graph and I am trying to remove the data in the future dates of the cumulative line in the graph.    This is a picture of the s-curve graph.     For the cumul...
  • pnm_100's avatar
    pnm_100
    3 years ago

    Thanks for the help, but I finally found a solution. 

     

    Change the Cumulative Count Actual to:

     

    Cumm Count Actual = VAR CumCountAct = CALCULATE([Count Actual],USERELATIONSHIP('Calendar Table Plan'[Planned Date],Catalogue[Actual Completion Date]), FILTER(ALL('Calendar Table Plan'),'Calendar Table Plan'[Planned Date]<=MAX('Calendar Table Plan'[Planned Date]))) RETURN IF(MAX('Calendar Table Plan'[Planned Date]) <= TODAY(),CumCountAct,BLANK())