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 SharePoint l...
Power Apps
Unanswered

Filtering SharePoint list based on Multichoice inputs

(0) ShareShare
ReportReport
Posted on by 57

I have a SharePoint List which contains user data like Name, Age, Language spoken, Country, etc. I am using a PowerApps form to input data into this list, where only Language Spoken is multi choice field.

 

Now I want to filter the list based on a selected user and the languages they speak. For e.g.

 

NameAgeLanguagesCountry
ABC25-35English,RussianUSA
XYZ35-45German,SpanishMexico
CDE25-25Russian,JapaneseUSA
MNO45-55English,FrenchCanada

 

So when I select ABC user from a Dropdown in PowerApps, connected gallery should show user names of CDE and MNO as ABC user speaks in English like user MNO and Russian also spoken by user CDE. They can further filter the gallery based on country and age as well.

 

Filtering Gallery based on Age and Country has been completed using

Filter(userList, uniqueID <> Value(selectedUserID.Text),AgeRange.Value = AgeRange_1.Selected.Value, Country = Country_1.Selected.Value)

 

Can someone help on how to filter the list based on Languages spoken by selected user?

 

Thanks,

AK

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @AKB2021 ,

     

    I did a demo for you.

     

    1\ This is my list .

    vxiaochenmsft_0-1623903871558.png

     

    2\ Add a dropdown control 'userList.NAME' and set its Items property to:

    userList.NAME

     

    3\ Add a gallery control and set its Items property to:

    Filter(ForAll(Filter(userList,NAME<>Dropdown1.Selected.NAME) As A,If(CountRows(Filter(ForAll(LookUp(userList,NAME=Dropdown1.Selected.NAME).Languages As B,If(B.Value in A.Languages.Value,B)),!IsBlank(Value)))>0,A)),!IsBlank(NAME))

     

    4\ The result is as follows:

    vxiaochenmsft_1-1623903991011.png

    vxiaochenmsft_2-1623903998622.png

    vxiaochenmsft_3-1623904008792.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

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
WarrenBelz Profile Picture

WarrenBelz 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard