Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Custom slicer to select and display multiple columns

Hello,   I am trying to create a custom slicer based on multiple columns. Here is the data I have currently:  aa bb cc dd   2020 A 2020 B 2020 C 2021 A 2021 B 2021 C 2022 A 2022 B ...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Anonymous ,

    I updated my pbix file(see the attachment), please find the details in it.

    The below one is my answer of your above questions:

    1. It has been achieved in my updated pbix file.

    2 and 3: I'm sorry those two things can't be accomplished. Regarding your third question, you can add the latest year to the YEAR table to avoid that the latest year's data can't be rendered in table visual. 

    Using unpivot+matrix is the best solution to solve your three problems. (Years are multi-selected, unselected years are not shown in the visual, slicer options are from this table)

    Best Regards