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 / Filter a galley based ...
Power Apps
Unanswered

Filter a galley based on a column from other list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all,

 

I have a screen on a app where I present vehicle requests presented on a sharepoint list called "Vehicles". Then I have another list called "CheckIns" where I place the date time of check In.

 

I'm creating a screen where people will do check in and check out of the vehicle and what I want to do is to filter that gallery only for the requests who are blank on the checkOut column on CheckIns list.

 

I'm trying with look up but doesn't work:

Filter(Request, LookUp(CheckIns, IsBlank(CheckOut)) or Filter(Request, LookUp(CheckIns, CheckOut = "")

 

Some more hints to help visualize:

This is my Request list:

Miguel_MESP_1-1606992835108.png

This is my CheckIns List: Request ID is a lookup column to ID from Request list

Miguel_MESP_2-1606992894809.png

 

This is my gallery example:

Miguel_MESP_3-1606992953304.png

 

Thanks in advance!

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,756 Most Valuable Professional on at

    Hi @Anonymous ,

    Something like this should work - assuming these are the matching columns

    Filter(
     AddColumns(
     Request, 
     "Check_Out",
     LookUp(
     CheckIns, 
     RequestID=ID
     ).Checkout
     ),	 
     Check_Out=Blank()
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey, not working. 

    I need to do the addcolumns command? It's not possible directly through a lookup?

     

  • WarrenBelz Profile Picture
    155,756 Most Valuable Professional on at

    @Anonymous ,

    If you want to filter by the field - yes you need to add the column. What is not working?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard