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
dcpatel1
New Member

Standard slicer on Power Bi shows dates which are not even the date column.

Situation: On Power Bi desktop as well Service I am using standard slicers with Transaction Date with a range from 4/24/2024 to 4/24/2025 with 'Slicer settings' > Options > Style as 'Between'. 
Problem: On slicers I am able to select dates which are not within the range of dates in a given column. As an example, I can select date range from 1/1/2020 to 2/2/2020. Other 'style' options shows correct range. Only 'Between' style has issue.
Expected solution: I want date range on slicers to match the input field like Slicers should not show dates out of 4/24/2024 to 4/24/2025 range.

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

@dcpatel1 If I create a Dates table like this:

Dates = CALENDAR( DATE( 2024, 4, 24 ), DATE( 2025, 4, 25 ) )

The between slicer only lets me pick dates included in that range unless I manually type a date into the input boxes. Is that what you are referring to?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

danextian
Super User
Super User

Hi @dcpatel1 

 

What do you mean by this?

I want date range on slicers to match the input field like Slicers should not show dates out of 4/24/2024 to 4/24/2025 range.

 If you're referring to the slicer and other visuals, make sure it is set to filter.

danextian_0-1745635655148.png

This only works if the filter comes from the same table, or if there's a valid relationship where the filter direction flows from the year slicer's table to the date slicer's table.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

5 REPLIES 5
v-pnaroju-msft
Community Support
Community Support

Hi dcpatel1,

We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.

If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi dcpatel1,

We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.

If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Thank you, @Greg_Deckler@danextian  for your response.

 

Hi dcpatel1,

 

We would like to check if the solution provided by @Greg_Deckler@danextian has resolved your issue. If you have found an alternative approach, we encourage you to share it with the community to assist others facing similar challenges.

If you found the response helpful, please mark it as the accepted solution and add kudos. This recognition benefits other members seeking solutions to similar queries.

 

Thank you.

danextian
Super User
Super User

Hi @dcpatel1 

 

What do you mean by this?

I want date range on slicers to match the input field like Slicers should not show dates out of 4/24/2024 to 4/24/2025 range.

 If you're referring to the slicer and other visuals, make sure it is set to filter.

danextian_0-1745635655148.png

This only works if the filter comes from the same table, or if there's a valid relationship where the filter direction flows from the year slicer's table to the date slicer's table.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Greg_Deckler
Super User
Super User

@dcpatel1 If I create a Dates table like this:

Dates = CALENDAR( DATE( 2024, 4, 24 ), DATE( 2025, 4, 25 ) )

The between slicer only lets me pick dates included in that range unless I manually type a date into the input boxes. Is that what you are referring to?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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