Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Slicer multiple columns

Hello

 

I'm having a problem creating a slicer since some weeks ago, hopefully you can help me. I have categorical information in two different columns (size and colour) and want to create a slicer to choose between these two columns. In other words, I want to have only one table instead of two and the user can choose between the next two different views.

 

*Note: I know i could pivot the data but is not an option for me, I have chooses a simple data but my original data set is more complex and pivoting my data generates more problems than solutions.

 

Thank you in advance!

 

Link to my file:  https://insideidc-my.sharepoint.com/:u:/g/personal/lcarrasco_idc_com/EYZjfMTXCPxBt-sARoJBozgB0pln5CxvZ1LD9mBXOxZIbg?e=FUdMHg

 

  • Hi Anonymous,

     

    If you don't want to unpivot the source data table, you can create another query referencing to it and unpivot the referenced query. For detailed steps, please see this thread. Apart from unpivoting, I haven't found any other solution or workaround to show dynamic categories in chart visual. 

     

    Best regards,

    Yuliana Gu

2 Replies

  • v-yulgu-msft's avatar
    v-yulgu-msft
    Microsoft Employee

    Hi Anonymous,

     

    If you don't want to unpivot the source data table, you can create another query referencing to it and unpivot the referenced query. For detailed steps, please see this thread. Apart from unpivoting, I haven't found any other solution or workaround to show dynamic categories in chart visual. 

     

    Best regards,

    Yuliana Gu

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for your help Yuliana!