Forum Discussion
Filter slicer based on the another slicer
I want to know that there is any way using which i can filter the slicer records based on
the another slicer value selection.
Eg. I want to keep the selection of vegetable,fruits
and on the basis of the selection of the vegetable or fruits the next slicer should
filter the records in the next filter like vegetable -> potato,cabbage,brinjal
and Fruit -> apple,mango,banana.
10 Replies
- BhaveshPatel
Super User
Yes. You can do that.
You need to create two slicers for the requirement. For example, one for the Vegetables and Fruits & one for their names.
Just to clarify, it does not automatically recognize the names of the vegetables and fruits & you need to predefine them in your columns.
Filter on one slicer will automatically cross filter other slicer and that's the native behaviour of PowerBI.
Hope this has clarified your understanding.
Thanks & Regards,
Bhavesh
- MoulickFrequent Visitor
Thanks for replay Bhavin Patel,
The solution you provided it can't be used, as there is no relation between the tables, because it contains the duplicate values in the column.
Thank you
Patel Moulick
- BhaveshPatel
Super User
Hi Moulick,
Can you please post the sample data and expected output to provide you the exact solution.
Thanks & Regards,
Bhavesh
- DeepaFrequent Visitor
I want to bind values for second slicer based on first slicer, How can I do this? my data is as in below table, In first slicer I am displaying Filter By types and in second slicer I have display the values based on filter by type. For example if i select city in first slicer(Filter BY slicer), I need to display all the cities in second slicer(Values Slicer).