Forum Discussion

GFRO's avatar
GFRO
Frequent Visitor
2 years ago
Solved

Between Dates Slicer

I have a slicer visual called Sales Date from Table1, which is refreshed daily, bringing new dates. > This slicer visual SalesDate filters out many other visuals in the dashboard. > I want to...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi GFRO ,

    Please try this way:
    For example, I need the slicer to have a start date of April 1, 2008 and an end date that is always today's date. I am creating a new table with the following DAX:

    Slicer = CALENDAR(DATE(2008,4,1),TODAY())

    Create a relationship between this new table and the other tables that need to be filtered, and use this new table to create the slicer.

    When the time comes to the next day, I just need to refresh Power BI and the termination date in the slicer changes.

    Best Regards,
    Dino Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi GFRO ,

    If your slicer has been created using a real-time refreshed datasheet, then after the daily refresh is complete, you can simply click this eraser to save the publish.

     

    Best Regards,
    Dino Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.