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

Filtering a gallery with inputs from 2 SharePoint list

(0) ShareShare
ReportReport
Posted on by 105

I have two lists

  1. Client
  2. Plans
  3. Plans list fields
    1. Plan Name
    2. ClientID (number)
    3. Project Manager (people picker)

I want to create a gallery filter that only shows the Clients for this Project Manager when they open the app.

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @nalstevens possibly reading this wrong, but I think you want your Gallery to display the Plans list and then Filter that Gallery by the logged in user? E.g:

     

     

    Filter(
     Plans,
     'Project Manager'.Email = User().Email
    )

     

     

    What is the need for the Client list, given you have the ClientID already in the Plans List?

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

  • nalstevens Profile Picture
    105 on at

    I can do this, I what a Gallery to show the clients where the plan list field Project Manager = logged in user

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @nalstevens could you clarify why the above suggestion does not do what you need it to do? You have the ClientID in your Plan list, which you can leverage to get any field you need from the Client list.

  • nalstevens Profile Picture
    105 on at

    Hi Amik.  One client can have 20 plans.  I don't want a huge list of plans, I have another gallery on the same screen that populates the plans once the client is selected in the gallery in question.  So I want only the clients that the project manager is assigned. Then they can select the client to access the plans.  

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    sorry @nalstevens not matter how many times I re-read your explanation, I am not still getting it.  Could you share an example of your data?

     

    In my mind it looks like this:

     

    Amik_0-1691418325587.png

     

  • nalstevens Profile Picture
    105 on at

    Sorry, I'm trying my best to word it correctly 🙂  One client can have multiple Project Manager

    Client List                            Plan List

    nalstevens_0-1691420010015.png

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @nalstevens right so what I had in my mind was correct.

     

    I can only repeat the same advice, you only need to Filter the Plans table by project manager. It does not matter if one client has multiple project managers, you will still get a Table/Gallery which displays clients associated to the project manager who opened the app.

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

  • nalstevens Profile Picture
    105 on at

    So there is no way to filter the clients list to show only the clients the project manager is listed.  If I filter on just the plan someone may have a huge list of 80+  plans to muddle through or search, where they could just have a list of 4 or 5 clients

     

     

    nalstevens_0-1691421734434.png

     

  • nalstevens Profile Picture
    105 on at

    Does anyone know if this is possible

     

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @nalstevens - I would suggest raising a new post so you get more traction from other community members.

     

    Unfortunately I do not understand what you want.

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