Forum Discussion

murphm6's avatar
murphm6
Icon for Helper II rankHelper II
3 years ago
Solved

How to get a slicer to filter multiple columns in same table

Hey all,

 

I have a table that has 2 different product codes. One for raw materials and the other for finished goods. The table shows what Raw Materials make up a selected finished good. I want to create a slicer that filters for both. So if we selected a specific raw material, it would filter the table to show all finished goods in which the raw material goes in. I would also like to have it so that if you selected a finished good, it would then tell you which raw materials go into the selected finished good. 

 

I've tried creating a new table with a union of both FG and RM codes, but for some reason it doesn't work. Can anyone help?

 

 

  • Hi , murphm6 

    According to your description, do you want to create two slicer for your [FG_Product] and [RM_Product] column?

    Here are the steps you can refer to :
    (1)Here are my test data :

     

    (2)I think you just need to put the two filed on the two slicers ,then you can filter to your table.

    If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

     

    Best Regards,

    Aniya Zhang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

     

     

1 Reply

  • Hi , murphm6 

    According to your description, do you want to create two slicer for your [FG_Product] and [RM_Product] column?

    Here are the steps you can refer to :
    (1)Here are my test data :

     

    (2)I think you just need to put the two filed on the two slicers ,then you can filter to your table.

    If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

     

    Best Regards,

    Aniya Zhang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly