Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Future Date Filtering

Hi,   Im looking for some help with creating a filter to apply to my report. I have a field called DUEDATE and i want to filter my report results to show only where the DUEDATE is in the next 3-...
  • v-yingjl's avatar
    v-yingjl
    5 years ago

    Hi Anonymous ,

    As my previous note in the formula, you can use today() function to replace the specific date in the formula:

    Measure = 
    IF (
        SELECTEDVALUE ( 'Table'[Date] ) >= EDATE ( TODAY(), 3 )
            && SELECTEDVALUE ( 'Table'[Date] ) <= EDATE ( TODAY(), 6 ),
        1,
        0
    )
    

    Result:

     

    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.