Forum Discussion

paulcar's avatar
paulcar
New Member
7 years ago
Solved

Cumulative Measures messing with Date Sliders

The idea is to have the cumulative data not be affected even when the start date of the slider is past the entry date of the data.   Super confused. Ive been on this for hours and hours.   ...
  • MFelix's avatar
    MFelix
    7 years ago

    Hi paulcar ,

     

    I was looking at the Count of editors (assume this is a cumulative calculation based on syntax).

     

    Change it to:

     

    Count of Editors = 
    CALCULATE(
        DISTINCTCOUNT('EDITOR CLIENT DATA'[Editor Ref]);'EDITOR CLIENT DATA'[Editor Ref]<>BLANK();
        FILTER(
            ALL('EDITOR CLIENT DATA');
            'EDITOR CLIENT DATA'[DATE] <= MAX('EDITOR CLIENT DATA'[DATE])))
       

    Looking at my tests when I change the date slicer it remains the same value always however when I do the measure like this it gives me 12 instead of 11.

     

    Can you check in your model if it works properly?

     

    Regards,

    MFelix