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
erikbeauch
Frequent Visitor

Date Slicer with default values on From Date and To Date

Hi everyone, I checked many posts, tried various options, including unsuccessul attempts with ChatGPT so far. It seems like a common requirement, but not supported out of the box by Power BI. Thanks in advance for any help you can provide.
Requirements:

  • The Transaction table has a column named AuthorizationDate
  • Need to add a single Date Slicer visual with the Between style  (not two slicers with a reset button)
  • From Date: by default, should be a month earlier than the To Date
  • To Date: by default, should be the latest date from the Transaction table
  • Custom selection: the user must be able to pick up any other date in the From and To fields. Therefore the visual cannot be restricted by a relative date filter.
  • Refresh: when accessing the report, the From Date and To Date must be refreshed with the default values.

It seems like this requires quite a custom solution. Any hint? Can't believe trying to replicate this basic feature available on SSRS would involve so much head scratching on Power BI! Thanks

2 REPLIES 2
Fowmy
Super User
Super User

@erikbeauch 

I did a video some time back, pleas check it out: https://www.youtube.com/watch?v=KBEsPGxDxHM&pp=ygUWZGVmYXVsdCBkYXRlIGV4Y2VsZm9ydA%3D%3D


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thanks @Fowmy, the video is really well done. This is getting close to the requirements, but not entirely since it involves another filter than the Date Slicer and some resetting by the user. In the current use case, the goal is that the unique Date slicer will be used for user interactions. So it needs at all time to reflect the data range currently beeing displayed, instead of toggling between two slicers. 

Helpful resources

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

Jan NL Carousel

Fabric Community Update - January 2025

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