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

Force a selection in a drop-down slicer

I have a report which requires that a selection is made in a dropdown slicer before clicking on a button which navigates to another page.  The other page has synced slicers, which means it only works if a selection is made.  Unfortunately, the default value is "All" on a dropdown, and I can't figure out how to force a selection from the slicer.  Any ideas?

~Mike Chittick
Business Analytics Lead
Inviso Corporation
1 ACCEPTED SOLUTION
Anonymous
Not applicable

The only thing I can think of is manually selecting a value you know will be there for anyone viewing the report. This will make it default to that value, and they won't have the ability to "Select All' unless they hit the eraser. You might utilize SELECTEDVALUE() in a measure on that page for some sort of feedback if they circumvent your one-only restriction.

 

Valid Selection = IF(ISNUMBER(SELECTEDVALUE(Data[ID], "xxx")), "Please click 'Submit'", "Please select a single ID before submitting.")

 

 

 

image.pngimage.png

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

The only thing I can think of is manually selecting a value you know will be there for anyone viewing the report. This will make it default to that value, and they won't have the ability to "Select All' unless they hit the eraser. You might utilize SELECTEDVALUE() in a measure on that page for some sort of feedback if they circumvent your one-only restriction.

 

Valid Selection = IF(ISNUMBER(SELECTEDVALUE(Data[ID], "xxx")), "Please click 'Submit'", "Please select a single ID before submitting.")

 

 

 

image.pngimage.png

Not ideal, but it'll work!  Thanks for the suggestion!

~Mike Chittick
Business Analytics Lead
Inviso Corporation

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.

Top Solution Authors