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

Announcements

News and Announcements icon
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,932 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard