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 / Combo Box filter for S...
Power Apps
Answered

Combo Box filter for SharePoint multi-select lookup column

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have two SharePoint lists...

 

TeamMembers (contains employees and leave plan(s) they are eligible for)

-Title(TeamMemberNumber)

-LeavePlans (multi-select lookup into LeavePlans list below)

 

LeavePlans (contains all valid leave plans - Vacation, Personal, Other)

-Title

 

Want to filter Combo Box in PowerApps to allow user to select one of the leave plans they are eligible for.

 

Choices('Team Members'.LeavePlans) in Items property shows ALL leave plans.  What would the FILTER statement look like to select leave plan(s) for a specific team member (entered in text box on same screen) ?

 

Thanks in advance.

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Was able to solve this myself...

     

    1. Captured the team member's leave plans in a collection (from another collection).  Collection contained "Id" and "Value" columns.

     

    ClearCollect(colTeamMembers, 

    Filter('Team Members' ,'Team Member Number' = txtNewTeamMemberNumber.Text));
    ClearCollect(colTeamMemberLeavePlans, First(colTeamMembers).LeavePlans);

     

    2. Set combo box Items to the value...

     

    colTeamMemberLeavePlans.Value

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#2
11manish Profile Picture

11manish 192

#3
Valantis Profile Picture

Valantis 128

Last 30 days Overall leaderboard