Forum Discussion

dainova's avatar
dainova
Regular Visitor
1 year ago
Solved

How add dynamic filter value (for date )

Hi, How I can implement my filter  for date 7 days from now in my filter like in example below. I've created Last7Days measure but can not move into the filter box, tried all types of filtering. ...
  • Shahid12523's avatar
    1 year ago

    You can’t put a measure in the filter pane.


    Use one of these:

     

    Relative date filtering on your Modified On column → set to last 7 days.

    Or create a column:

     

    IsLast7Days =
    IF('Table'[Modified On] >= TODAY()-7 && 'Table'[Modified On] <= TODAY(), 1, 0)


    Then filter IsLast7Days = 1.