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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
kxj
Frequent Visitor

Between Date Slicer with Relative Date Visual Filter not affecting table

Hi. I have a between slicer that should be defaulted to show YTD records. I've set up the Slicer to use the "Between" display and have a relative date visual filter on the slicer to show everything in the last year. The slicer displays YTD dates, however the table continues to display records for all time. Is there a known issue that visual filters on between slicers do not work? I don't have this problem if slicer is in a drop-down format:

kxj_0-1672771085220.pngkxj_1-1672771104956.png

 

kxj_2-1672771130161.png

Additionally, if I manually change the start date to 1/5/2022, the table will update. However, I would like this date field to update every year with the new YTD dates so I don't want to hardcode any values. 

 

Thank you so much

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @kxj ,

 

In myside, I can reproduce your issue. When I set a relative date filter on my between slicer, my table visual will still show all values.

RicoZhou_0-1672812745916.png

As far as I know, this should be caused that there is no selection in slicer so Power BI will not set the new start date and end date to your table visual. Here I suggest you to use the two sliders in the between slicer. This will activate the between slicer. 

RicoZhou_1-1672813969755.png

Or you can use the relative date filter on your table visual as well.

 

Best Regards,
Rico Zhou

 

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

3 REPLIES 3
Anonymous
Not applicable

Hi @kxj ,

 

In myside, I can reproduce your issue. When I set a relative date filter on my between slicer, my table visual will still show all values.

RicoZhou_0-1672812745916.png

As far as I know, this should be caused that there is no selection in slicer so Power BI will not set the new start date and end date to your table visual. Here I suggest you to use the two sliders in the between slicer. This will activate the between slicer. 

RicoZhou_1-1672813969755.png

Or you can use the relative date filter on your table visual as well.

 

Best Regards,
Rico Zhou

 

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

 

kxj
Frequent Visitor

Unfortunate that it does not work unless you manually enter a value. I will just add buttons/Bookmarks that allow users to swtich between YTD (relatative date format) and All-time (Date range format).

 

Thanks for your help in confirming my suspicions.

amitchandak
Super User
Super User

@kxj , As of now Range slicer do not default well based on filter from other slcier.

 

We usually create a column like

If([Date]<= Today() && [Date]>= (eomonth(Today(), -1* month(Today())) +1), "YTD" , "Other")

 

and save it on YTD

 

You can log an idea : https://ideas.powerbi.com/ideas/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 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.