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 gallery ba...
Power Apps
Answered

Filtering a gallery based on another gallery

(0) ShareShare
ReportReport
Posted on by 2

I'm attempting to filter a gallery - I want the StudentInterests gallery (which has two relevant columns, one called StudentName and one Skill). I want to only show the students who share skills with the required skills seen in the gallery RequiredSkills, based on the column Skill. 

 

Basically, I want to only show the students who have the required skills. 

 

This is what I currently have to filter, however, it is just showing all of the students. What can I do to accomplish this?

ansc21_1-1708980759837.png

 

This is the filter that shows the required skills for the given project:

ansc21_3-1708980988846.png

 



Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @ansc21 ,

     

    Could you please share more details about your scenario? What data source are you using, SharePoint lists? What types are the columns of StudentName and Skill?

     

    I assume that StudentInterests and RequiredSkills galleries connect to two SharePoint lists, and StudentName and Skill columns are both Text columns. So, the formula for StudentInterests gallery Items would be:

    Filter(
     OPSStudentInterests,
     Skills in Filter(OPSRequiredSkills, OPSProject.'Project Name' = First(PowerBIIntegration.Data).'Project Name').Skills
    )

     

    Best regards,

  • ansc21 Profile Picture
    2 on at

    Thank you for the assistance, both columns are lookup columns 

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @ansc21 ,

     

    If Skills and/or StudentName column don't allow multiple selections, then please try:

    Filter(
     OPSStudentInterests,
     Skills.Value in Filter(OPSRequiredSkills, OPSProject.'Project Name' = First(PowerBIIntegration.Data).'Project Name').Skills
    )

     

    Best regards,

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard