Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Return values between 2 dates, for Saturdays only

Hi I have a set of measures and a min and max date defined. I need the measures to only show between these dates, and only where the day is a Saturday. I have tried.. CALCULATE([measure], DATESBETW...
  • v-yingjl's avatar
    v-yingjl
    5 years ago

    Hi Anonymous ,

    Try to create a measure like this to calculate the min date:

    min date =
    MINX (
        FILTER ( ALL ( 'datetable' ), 'datetable'[Date] <> BLANK () ),
        'datetable'[Date]
    )
    

     

    Best Regards,
    Community Support Team _ Yingjie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.