Forum Discussion
Multiple Combination selection using Slicer
- Anonymous2 years ago
Hi Sudharshan1919 ,
Please try below steps:
1. create a measure with below dax formula
Measure = VAR cur_lname = SELECTEDVALUE ( 'Table B'[ListName] ) VAR cur_aname = SELECTEDVALUE ( 'Table A'[AgentsName] ) VAR _val = IF ( CONTAINSSTRING ( cur_aname, cur_lname ), 1 ) RETURN IF ( NOT ( ISFILTERED ( 'Table B'[ListName] ) ), 1, _val )2. add a table visual with Table A fields, add a sclicer with Table B [ListName], add the measure to the table visual filter pan and set
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HEllo Sudharshan1919 ,
You need to build a relationship between the two tables by agentname then you use list name to filter.
check this on how to build a relationship between tables https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-create-and-manage-relationships
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Follow me on Linkedin
Vote For my Idea 💡
Hello Idrissshatila ,
I have already tried the approach that you have given, before posting this. But that couldnt satisfy my requirement. As you mentioned i have also used ListName column in the slicer, but when selecting the value in the slicer , in the below grid only the values that having that value are only being displayed. For example, if i select Unix... only Unix and All option are only displayed, but not able to display the combination values (Unix+Python, Unix+Java).
Kindly help me for this..
Thanks