Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
GFRO
Frequent Visitor

Between Dates Slicer

I have a slicer visual called Sales Date from Table1, which is refreshed daily, bringing new dates.

GFRO_0-1707417649375.png

> This slicer visual SalesDate filters out many other visuals in the dashboard.

> I want to have the "End Date" on the SalesDate between dates being the latest date brought to the Table1.

 

I made some searches and it seems there are some PowerBI limitations on that.

 

Does anyone have a workaround?

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

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())

vjunyantmsft_0-1707458860650.png

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.

vjunyantmsft_1-1707458916371.png

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.

View solution in original post

Anonymous
Not applicable

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.

vjunyantmsft_0-1708506774126.png

 

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.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

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.

vjunyantmsft_0-1708506774126.png

 

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
Not applicable

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())

vjunyantmsft_0-1707458860650.png

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.

vjunyantmsft_1-1707458916371.png

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.

Idrissshatila
Super User
Super User

Hello @GFRO ,

 

I recently figured out a way to do this but with a custom slicer named timeline, you can add it, there's an option to get the latest date or the current date, try it.

Idrissshatila_0-1707418098629.png

Idrissshatila_1-1707418215528.png

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks for your suggestion. Unfortunately, the Latest Date feature filters out only the last period of time.

I'm looking for something that keeps the start date and keeps updating the end date for the latest date.

@GFRO , try the relative date , check it out https://youtu.be/pKXIPDhRrbM?si=hjgNT1xQumM1Qpf3

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.