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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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/

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.