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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

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

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.

 

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
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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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