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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Memorable Member
Memorable Member

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 kudo to show your appreciation!

Thank you for being an awesome community member! 

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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