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 sharepoint lookup.
Power Apps
Answered

Filter sharepoint lookup.

(1) ShareShare
ReportReport
Posted on by 137
I have a SharePoint list called Applications with a lookup column to the another list called Platforms.  I have modified the form for the list in PowerApps and all works well.   The issue is that the Platforms look up list contains items I don't want to include for users to select - these are identified by a choice field (single select) called Status.
 
I've tried to work out how to Filter the Items in the drop down in the form, including creating a collection which I try to filter, but as the field is seen as a table, I can't work out how to do something like:

ClearCollect('Platforms', Filter('Platforms', 'Status'.Value <> 'Decommed))
 
I get various different errors (delegation etc) but I'm not sure if I'm even starting this the right way!!  Any help/guidance greatly appreciated :)
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,949 Most Valuable Professional on at
    Hi  StevieC
    Your issue is the Not (in your case not equals) is not Delegable. You need to list all the Status values you want to include, rather than the one you want to exclude.
    ClearCollect(
       'Platforms', 
       Filter(
          'Platforms', 
          'Status'.Value = Status1 ||
          'Status'.Value = Status2 ||
          'Status'.Value = Status3
       )
    )
          
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • StevieC Profile Picture
    137 on at
    Spot on!!!! Easy when you know how :)
     
    Cheers WarrenBelz

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

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard