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
Anonymous
Not applicable

How do I create a button to perform "Reset to default"

Hi all,

 

I have a date range slicer however, I would like to enable my user to click a button and the date range slicer will reset it to a default date range.  Is this achievable in PBI?

 

thanks

2 ACCEPTED SOLUTIONS

@Anonymous 

the procedure is correct and should work. Can you try the following? Set the slicers to your default values and then go to the bookmark and select “update”. See if it solves it.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

Anonymous
Not applicable

@Anonymous 

 

Please try the same what @PaulDBrown shared above.

 

Along with that, can you confirm that clicking the button with 'CTRL' ?

View solution in original post

8 REPLIES 8
PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

Alternatively you can create a button from the button options in the main ribbon, create a bookmark with the default values and link the button to that bookmark. I do this all the time.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi all,

I tried the following way and my "reset to default" button did not reset back to the bookmark value in my visualisation. The following are my steps....

 

Step 1:

I set my slicer for the year range to 01/08/2017 to 31/08/2019 in the slicer.

filter my desired bookmark rangefilter my desired bookmark range

Step 2:

I created a bookmark object 

created a bookmark objectcreated a bookmark objectthe default object is named 3 yrsthe default object is named 3 yrs

Step 3:

I click on the "reset to default" button to assigned the bookmark object to this button.

Capture4.JPGCapture5.JPG

 

Step 4:

I test it .. see following two steps testing

I enlarged the date rangeI enlarged the date rangenext, i clicks the Reset button, but the date range did not go back to the bookmark range?next, i clicks the Reset button, but the date range did not go back to the bookmark range?

The bookmarked date range is 01/08/2017 to 31/08/2019. 

Despite I clicked the button, the slicer doesn't change to the bookmarked range and the total figure remain $12.4M and not $10.7M

 

Have I missed out anything in my steps?

 

Thanks,

Tuff

 

 

 

Anonymous
Not applicable

@Anonymous 

 

Please try the same what @PaulDBrown shared above.

 

Along with that, can you confirm that clicking the button with 'CTRL' ?

Anonymous
Not applicable

Hi,

 

You are right that the "Reset" button needs to be clicked together with "Ctrl" key.

Is there is a way of not using Ctrl key? I see somewhere in other reports able to do that?

@Anonymous 

You only need to do the “ctrl” + click while in the Desktop app. Once you publish it to the PBI service, it will work directly by just clicking the  button (no need for the “ctrl”)





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@Anonymous 

the procedure is correct and should work. Can you try the following? Set the slicers to your default values and then go to the bookmark and select “update”. See if it solves it.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

I am also trying similar logic as well no luck of getting it right.

Anonymous
Not applicable

Hello,

 

However you can make it with 'Clear Selections' which is at the right top of the Slicer. Or if you particularly wants in the button, you can make it with Blank button & Bookmark features in PBIClear Selections.png

 

 

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.