cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SF1173NYC_TX
Frequent Visitor

Filter Multi Select Column based on another Multi Select Column

I have two multi select columns with the same exact values listed and if a value is selected in the first then I want that value removed from the second.  Here is what I am using but it only works for the first value selected so if more than one is selected it only removes one value.  This is the condition I have in the datacardvalue Items.  Any suggestions would be appreciated.

 

If("Dental" in DataCardValue12.SelectedItems.Value,Filter(Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
Value <> "Dental"),
"Vison" in DataCardValue12.SelectedItems.Value,Filter(Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
Value <> "Vision"),
"Life" in DataCardValue12.SelectedItems.Value,Filter(Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
Value <> "Life"),
"Disability" in DataCardValue12.SelectedItems.Value,Filter(Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
Value <> "Disability"
),"Other" in DataCardValue12.SelectedItems.Value,Filter(Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
Value <> "Other"))

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @SF1173NYC_TX :

Please try:

Filter(
    Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
    !(Value in DataCardValue12.SelectedItems.Value)
)

Best Regards,

Bof

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @SF1173NYC_TX :

Please try:

Filter(
    Choices([@'UMR Exception Intake Form'].'Other Specialty Products'),
    !(Value in DataCardValue12.SelectedItems.Value)
)

Best Regards,

Bof

View solution in original post

That worked perfectly...thanks for your help.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,815)