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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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