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

Is it possible to change the order of the dates presented in a date slicer, with a 'Between' set up?

Hello, 

 

I have a date slicer in my dashboard that is set up so the user selects the start and end date. Because my data spans many years - 2012-2024, the default start date picker is 2012.

 

Therefore, if a user wants to set a date range just within 2024, they have to click many times to navigate the start date up to 2024. 

 

I.e. this is how my slicer looks by default:

 

ST2022_0-1731579988358.png


But how I would like it to be set up is something like this (whereby, the start and end date ranges are defaulted to 2024, which is most likely when a user will want to set their date range to):

 

ST2022_1-1731580008939.png

 

Is there any way to achieve this?

 

Thanks

 

1 ACCEPTED SOLUTION
Doodle
Advocate II
Advocate II

Before publishing your pbix file to the service, select the dates you want to appear as default in the filter... so maybe Jan 1 2024 to Dec 31, 2024.

 

then publish the report and that should be the default. 


if you want even more specific you could do Jan 1, 2024 to the current month end but then you have to open the file set the new end date every month.

View solution in original post

6 REPLIES 6
mh2587
Super User
Super User

 

 

//create this measure and add in the visual filter and filter out to 1 
DefaultYear = IF(YEAR('Table'[Date]) = YEAR(TODAY()),1,0)

 

 


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



ST2022
Frequent Visitor

Hi @mh2587 

 

Thank you for your suggestion. 

Doodle
Advocate II
Advocate II

Before publishing your pbix file to the service, select the dates you want to appear as default in the filter... so maybe Jan 1 2024 to Dec 31, 2024.

 

then publish the report and that should be the default. 


if you want even more specific you could do Jan 1, 2024 to the current month end but then you have to open the file set the new end date every month.

ST2022
Frequent Visitor

Hi @Doodle ,

Thanks for your reply and for this suggestion, I'll be sure to give this a try and this may well just do the trick! 😊

Bibiano_Geraldo
Community Champion
Community Champion

Hi @ST2022 ,

Unfortunately, the slicer visual doesn’t have a default value setting. However, you can create two separate slicers to make selection easier for your users. For instance, you can add one slicer for months and another for years to reduce the number of clicks required. If users need to select specific days, you can include an additional slicer for that.

 

Bibiano_Geraldo_0-1731582289318.png


If this reply help you, please accept as solution a nd give a Kudo.

 

thank you.

I hope this helps! 
If you found this answer helpful:
✔️ Mark it as the solution to help others find it faster.
 Give it a like to show your appreciation!

Thank you for contributing to our amazing Power BI community! 

Hi @Bibiano_Geraldo ,

Thank you for your reply! Although annoying, it's good to know that there isn't a simple solution / option that I'm simply missing. Thank you for this suggestion as well 🙂

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!

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.