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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
v-junyant-msft
Community Support
Community Support

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

v-junyant-msft
Community Support
Community Support

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
v-junyant-msft
Community Support
Community Support

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.

v-junyant-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.