Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Slicer using multiple field

Hello,  I need to have a slicer with  options : X and Y.    I have a table like this : Name Transport Network A Toto 1 B Tata 1 C Toto 3   X : if ...
  • v-piga-msft's avatar
    7 years ago

    Hi Anonymous ,

    Please try the way below.

    Firstly unpivot Transport and Network columns in Query Editor.

    Then create the calculated column like below.

    Column = IF('Table'[Value]="Toto","X",IF('Table'[Value]="1","Y"))

    Then you could use column as a slicer.

    Best  Regards,

    Cherry

     

  • v-piga-msft's avatar
    7 years ago

    Hi Anonymous ,

    Have you solved the problem?

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

    If you still need help, please feel free to ask.

    Best  Regards,

    Cherry