Forum Discussion

kennwort's avatar
kennwort
Frequent Visitor
8 years ago
Solved

Slicer based on values from two columns

  I have a table that contains phone records. Each record has "Call From" and "Call To" columns with phone numbers in them. I would like to create a slicer that would allow the user to filter based ...
  • Omega's avatar
    Omega
    8 years ago

    Try the first part of the below solution: 

     

    Combine Columns

     

    Simply, you create a table with one column that contains all the numbers from both, Call From and Call To. Then, you drag that column to the slicer. 

     

    Hope this helps. 

     

    Thanks!

  • Zubair_Muhammad's avatar
    8 years ago

    kennwort

     

    You can unpivot the 2 columns(Call from and Call to) into a single column (lets say Call Type) as well using Query Editor

     

    You can do it with DAX as well i.e. create a separate unpivoted table