Forum Discussion

paglioz3's avatar
paglioz3
New Member
5 years ago
Solved

problem with total progressive

Hi all, I need to calculate a progressive value in base of the period filtered by user, from older to laster, but the result sum start from the last date. I use the script:   progressive_value= V...
  • v-kelly-msft's avatar
    v-kelly-msft
    5 years ago

    Hi  paglioz3 ,

     

    Try below expression:

    progressive_value =
    VAR MinDate =
    MINX ( ALLSELECTED ( 'CALENDAR'),'CALENDAR'[Date] ) -- Saves the last visible date
    RETURN
    CALCULATE ( [value], 'CALENDAR'[Date] >= MinDate )
    
    

     

     

     

    Best Regards,
    Kelly

    Did I answer your question? Mark my post as a solution!