Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Automatic current time date filter

Hi people!!   I was asked about filtering data by date, i have done that by now, but now another step of difficulty was added to this task, i need the date filter to automatically go to the date we...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous ,

     

    I get it.

    Please try this measure.

     

    Measure = 
    IF(MAX('Table'[Date])>=EOMONTH(TODAY(),-1)+1&&MAX('Table'[Date])<=TODAY(),1,0)

     

    Drag it into the filter and set the show items when the value is 1.

    The PBIX file is attached for reference.

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly -- How to provide sample data