Forum Discussion

admin_xlsior's avatar
admin_xlsior
Icon for Post Prodigy rankPost Prodigy
5 years ago
Solved

Dynamic options for chiclet slicer

Hi,   Can we create a dynamic options for a slicer ? I have a need like a switch button which I think nice to use Chiclet slicer, but the options is a predefined options like : View By Country and ...
  • MFelix's avatar
    MFelix
    5 years ago

    Hi admin_xlsior ,

     

    You could always turn the direct query into a composite model that uses direct query and import mode tables.

     

    But keeping the model has you have and since you cannot use measure within slicers I believe that you can male use of buttons to simulate the effect of the selection I can see two different alternatives and you can select the best one for you:

    • Using two buttons and having an effect of sliding with the option selected on the left and rigth
    • Using for buttons and making it similar to a slicer turnnig off an on two at a time

    See both examples below and in attach file.