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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ale-hd
Helper I
Helper I

Set a slider date to "today" or other dates using buttons

Hi all, I have a slider with dates. On the report there is also a "last update" info.

I would like to insert a few buttons in order to allow a "fast" setting of the slider date, i.e. "click here to set today", "Click here to set last update" etc. etc. like in the enclosed image.

 

Do you know if it this possible and how to do it?

Thank you all, Alessandro.

fastdatesetting.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

You can achieve this by creating custom columns in your date table:

One for each "fast setting", for example:

IsBeforeToday = if('Date'[Date] < TODAY() ; 1 ; 0)
IsBeforeLastUpdate = if('Date'[Date] < ["your last update field"]; 1 ; 0)
 
now you can create bookmarks, where each bookmark has different filters on the slicer eg;
Bookmark for today has a filter on the dateslicer (where isBeforeToday = 1)
 
When you click a button trigger the right bookmark and it should work!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

You can achieve this by creating custom columns in your date table:

One for each "fast setting", for example:

IsBeforeToday = if('Date'[Date] < TODAY() ; 1 ; 0)
IsBeforeLastUpdate = if('Date'[Date] < ["your last update field"]; 1 ; 0)
 
now you can create bookmarks, where each bookmark has different filters on the slicer eg;
Bookmark for today has a filter on the dateslicer (where isBeforeToday = 1)
 
When you click a button trigger the right bookmark and it should work!
Anonymous
Not applicable

@ale-hd any luck on this?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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