Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

cumulative sum issue

Hi, I have the following problem: I have used the following measure to calculate the cumulative sum:   This should be the sum of entries in the table:    mit IV = DISTINCTCOUNT(Kunde[amsidnr]) ...
  • v-yulgu-msft's avatar
    7 years ago

    Hi Anonymous,

     

    This measure should work.

    IV = 
    CALCULATE (
    KUNDE[mit IV],
    FILTER(
    ALLSELECTED(KUNDE),
    KUNDE[INSERTDATE] <= MAX(KUNDE[INSERTDATE])
    ))

    Best regards,

    Yuliana Gu