Forum Discussion

Vin57's avatar
Vin57
Frequent Visitor
1 year ago
Solved

Dynamic Slicers or Filters

Hello,   I have got nearly 85 filters or slicers in power bi to contorl a table placed below to it (To show values based on the filters or slicers).   It is tedious to place all the 85 slicers at...
  • MFelix's avatar
    MFelix
    1 year ago

    Hi Vin57 ,

     

    My question is are those Specific setup predefined? So if I select  1, 4, 8, 16, 32, 64, 78, 83, 85 this would be a specific configuration and the other one (1, 3, 5, 20, 25, 38, 42, 73, 81) would be another configuration.

     

    What you can do is add a field parameter and to that field parameter some columns to be order and sorted, also you would need to have a blank column to use to get the additional filter blaked out.

     

    On the example below I only have 3 values of filter one with 2 columns (Company, Product) and the other with just year, has you can see when I select Cat 1 I see the 2 slicers and when I select cat 2 I see only one slicer:

     

     

     

    This has a dynamic way of selecting the data is this something that would work?

     

    On the bottom images you can see that the Cat2 Blank is the column corresponding to the blank column, We need to setup the parameter table so that we have the exact same number of rows for each category otherwise the slicers won't be correctly filled.

     

    I also use an additional column thats sorts each column to position it on the slicer.

     

     

    This is then used on each slicer:

     

     

     

    If you want I can try and setup an example with more filters to simulated a more complex setting and send you the PBIX file.