Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
murphm6
Helper II
Helper II

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?

 

murphm6_0-1667235052605.png

 

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

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 :

vyueyunzhmsft_0-1667266713179.png

 

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

vyueyunzhmsft_1-1667267048344.png

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

 

 

View solution in original post

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

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 :

vyueyunzhmsft_0-1667266713179.png

 

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

vyueyunzhmsft_1-1667267048344.png

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

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.