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 / Items in a Gallery fil...
Power Apps
Unanswered

Items in a Gallery filtered

(0) ShareShare
ReportReport
Posted on by 43

Dear all,

I failing in a basic filter for a Gallery and after check a lot of tests I beeg your help:

I have a Gallery reaing data from a Sharepoint List named Ideas. This list is used in Items Gallery.

I have another Sharepoint List named Personas. In this I have the relation between a persona and the plant who belong.

When somebody enter in my App, I identify the plant belongs to and creating a variable with Set(_Planta_ID;LookUp(Personas;Mail=User().Email;Planta.Id)) and runs ok.

 

Then I want to filter the Gallery using the column "Created by" and searching in Personas the plant, so I could filter to _Planta_ID

My fail comes because I don't know how add the column Plant to the Gallery to be filtered.

Tested with Search, Filter...LookUp or creating collections...I've failed.

Any idea will be welcome!

Categories:
I have the same question (0)
  • LuizVicente Profile Picture
    984 Super User 2024 Season 1 on at

    If you still can't solve it, here's an idea.
    You can join two lists like this. I'm using two example lists: Countries and Population.

     

    Countries:

    Roverandom_0-1665143748782.png

     

     

    Population:

    Roverandom_1-1665143793879.png

    In my example, I created a collection:

    ClearCollect(
     ColCountries,
     ShowColumns(
     AddColumns(
     Countries,
     "Population",
     LookUp(Population, CountryID = Countries[@ID], Population)
     ),
     "Title",
     "Population"
     )
    )

     

    Result:

    Roverandom_2-1665143872253.png

    If you don't already know this List[@ID] part, the @ is called the disambiguation operator. Here more details.

    If you want more ideas on how to join two or more tables, do a search like this.

     

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard