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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.