Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Advanced Slicer Groups - Single Data Source, synchronized unrelated Slicers.

I feel like I could be complicating this a bit, hopefully there is a better solution. I have two parameters which each selection option is using a separate measure. Each one work fine independently, ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    It might be a little annoying to do, but if you are looking to have titles change dynamically on what you select from your slicer. You could add some logic to the titles using IF(), SELECTEDVALUE(), or SWITCH().

     

    Something like:


    YourDynamicTitle=
    SWITCH (
    TRUE (),
    SELECTEDVALUE('Table'[Column]) = "UnitedStates", "USD",
    SELECTEDVALUE('Table'[Column]) = "Canada", "CAD",
    SELECTEDVALUE('Table'[Column]) = "Mexico", "MXN",
    "Default Result"
    )

    Or even:

    IF( SELECTEDVALUE('Table'[Column]) = 'United States', 'Sales for United States, IF(.....

     

    Im not going to type it all out but basically you would need to nest a bunch of IFs inside each other to handle all the scenarios of what you want to be displayed in your Title card based off of the slicer selection.

    If this helps you out please consider marking it as the solution.👍