Forum Discussion
Filtering with Slicers
Hi, I have two filter panels created and each filter panel is connected separately to it's own table chart. However, when I apply one filter to the first table, I want the second table to automatically select and include the remaining information. I'm not sure how to get it to do that if I want the "select all" functionality in a filter to take only a subset of data and not all the data in the data model.
6 Replies
- pborahSolution Sage
You will require a cardinal relationship in your data model between the two tables driving your filters.
- ray_aramburoSuper User
I wouldn't recommend having two separate filter panels, you are going to provide your users a confusing user experience. However, to try to solve your answer:
a) If you, for example, are filtering for value "A" in Slicer 1 and want to show in table 1 only values for "A" and for table 2 values for "B-Z" then you should follow the instructions from this post.
b) If you are filtering for value "A" in Slicer 1 and want to show in table 1 only values for "A" and for table 2 all values (A to Z) then you should restrict the interaction between Slicer 1 and Table 2. Follow this documentation.
c) If you want to Slicer 2 select automatically what Slicer 1 selects (or doesn't select) then that's not possible.
I hope this helps 🙂
- AnonymousNot applicable
Hi Anonymous ,
What does the table associated with the two Slicers look like? If you want one slicer to affect another, there should be a connection between the related tables.
As far as slicer options are automatically selected, you can consider Preselected Slicer. Preselected Slicer in Power BI: How to Use It? A Completely Made-Up NBA Scenario as a Showcase | by Mateusz Mossakowski | Microsoft Power BI | Medium
——————————————————————————————————————————————————
If my answer helps you solve the problem, please accept my answer as a solution and let it be seen by more people in need.
Best regards,
Mengmeng Li
- v-sathmakuriCommunity Support
Hi Anonymous ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- v-sathmakuriCommunity Support
Hi Anonymous ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you!!
- v-sathmakuriCommunity Support
Hi Anonymous ,
I hope this information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can find a solution faster.
Thank you!!