Forum Discussion

mikechittick's avatar
mikechittick
Frequent Visitor
8 years ago
Solved

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...
  • Anonymous's avatar
    Anonymous
    8 years ago

    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.")