Forum Discussion

krypto6969's avatar
krypto6969
Icon for Helper II rankHelper II
9 years ago

How to split out same column into two slicers (with pic)

HI,

 

I have a value in my query called input user. 

 

Some of these users are internal and some are external. They are stored together in the database.

 

In power BI im trying to figure out how to split these out into two slicers. So my end users can pick from either list and get what they want. I can't seem to be able to filter them out so that when u filter one it doesn't effec the other. 

 

I added the same column in my query but that didn't work

 

How can I split out the same value into tow different slicers?

 

6 Replies

  • Phil_Seamark's avatar
    Phil_Seamark
    Icon for Microsoft Employee rankMicrosoft Employee

    Maybe try adding the column twice to your query.

     

    The SQL might look like SELECT inputuser AS ExternalUser, inputuser AS InternalUser ........

     

    Then you can two columns in your table that you can link to individual slicers.

  • Sean's avatar
    Sean
    Icon for Community Champion rankCommunity Champion

    The easiest way to do this although you probably may not like it is with the Hierarchy Slicer

    Where you can open either Internal or External and select!

    Give it a try :smileyhappy: - otherwise you'll need to create another table - Slicer Table

    • Sean's avatar
      Sean
      Icon for Community Champion rankCommunity Champion

      Here are the steps to creating the Slicer Table

       

       

      and the result...

       

      You can also probably duplicate the Columns User Name and User Type in your table and then...

       

      Hope this helps.

      Good Luck! :smileyhappy: