Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Slicer that controls fields

Hi!

 

I have a visual that looks like this.

 

 

 

 

 

 

 

 

 

 

Is it possible to create a Slicer, that controls which products are shown in the visual?

For example: I want to see only Product A and B in all 3 cities.

 

My fields list looks like this:

 

 

 

 

 

 

 

 

 

 

 

Thanks!

  • I am not sure you can do it, when the products is in different coloumns. Maybe someone els can confirm this.

     

    However, before you start on your report, you can do the following.

    Go under Quiry Editor

    Click on Transfer

    Mark all Product columns.

    Click on Unpivot Columns.

     

    This will change the marked columns to a single columns, and you can then filter from this.

     

    The result should look like this.

     

     

    Hope this will help. 🙂

3 Replies

  • Thim's avatar
    Thim
    Resolver V

    I am not sure you can do it, when the products is in different coloumns. Maybe someone els can confirm this.

     

    However, before you start on your report, you can do the following.

    Go under Quiry Editor

    Click on Transfer

    Mark all Product columns.

    Click on Unpivot Columns.

     

    This will change the marked columns to a single columns, and you can then filter from this.

     

    The result should look like this.

     

     

    Hope this will help. 🙂

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Thim,

      Thanks, that's helpful! In the future I will use your solution.

      Actually the report in which I need the Slicer is much more complex, and I think this method would mess up the report. I'm sure my database is not built up the best possible way. 🙂

       

      • v-eachen-msft's avatar
        v-eachen-msft
        Community Support

        Hi Anonymous ,

         

        If your problem has been solved, you could accept an answer to help other members find it more quickly.