web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering a multi sele...
Power Apps
Unanswered

Filtering a multi select field using a combo box

(1) ShareShare
ReportReport
Posted on by 23
Hello
 
I am trying to create a collection, however my cmbFilterProfileDomains is a combobox and my 'Skill Domain(s)'is a multiselect choice column. I tried the below approach (the other filters work fine), but the ForAll part is erroring with the following description -The expression is intended to apply multiple filters to different tables based on selected items in various dropdown controls. The errors in the expression are due to incorrect data types being used in certain parts of the expression where Power Fx expects Boolean, Number, Decimal, Text, or UntypedObject.
 
ClearCollect(
        colAdvFilProfile,
        ShowColumns(
            Filter(
                colProfiles,
                IsBlank(cmbFilterProfilePosition.SelectedItems) || Position in cmbFilterProfilePosition.SelectedItems,
                IsBlank(cmbFilterProfileBranch.SelectedItems) || Branch in cmbFilterProfileBranch.SelectedItems,
                IsBlank(cmbFilterProfileCitizen.SelectedItems) || 'Australian Citizen' in cmbFilterProfileCitizen.SelectedItems,
                IsBlank(cmbFilterProfileClearance.SelectedItems) || 'Security Clearance'.Value in cmbFilterProfileClearance.Selected.Value,
                IsBlank(cmbFilterProfileDomains.SelectedItems) || ForAll(cmbFilterProfileDomains.SelectedItems,Filter(colProfiles, Value in 'Skill Domain(s)'.Value))
            ),
            ID,
            'Consultant Name (Lookup)'
        )
    )
)
Any suggestions on how to tackle this would be greatly appreciated :)
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,685 Super User 2025 Season 2 on at
    Hi 
     
    Sorry what ForAll I don't see that anywhere.
     
    It would be so much easier if you showed Pictures of the app, annotated what you want out of it.
     
    You are explaining things that aren't even here, nor sharing error messages, or anything.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 408

#2
WarrenBelz Profile Picture

WarrenBelz 382 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 328 Super User 2025 Season 2

Last 30 days Overall leaderboard