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

Filtering allowed values based on different sharepoint column

(0) ShareShare
ReportReport
Posted on by 84

I have an edit gallery connected to a SharePoint list and there's an allowed values control where people are supposed to select a PO Number from a drop down in order to enter a comment. What I would like to do is to filter out any POs that already have comments associated with them in the SharePoint list named po_holds. Currently the Item property is set to po_holds.PO_Number. I'm trying to use filter but struggling with the syntax of how to make the items the PO_Number column while filtering on the Comments column. Something like:

Filter(po_holds.PO_Number, IsBlank(po_holds.Comments), but that doesn't work. 

 

For an edit screen I would also like to use the converse of that filter. 

Categories:
  • Gochix Profile Picture
    1,937 Moderator on at

    @mterry ,

     

    try: 

    Filter(po_holds,!Comments)


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • mterry Profile Picture
    84 on at

    I attempted that but it seems to pull up the whole table, rather than only the PO_Number field when there are no Comments. Screenshot 2024-04-04 140451.png

  • Gochix Profile Picture
    1,937 Moderator on at

    Then I believe if you use:

    Filter(po_holds.PO_Number,!Comments)

     It will give your desired outcome?

    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • mterry Profile Picture
    84 on at

    No unfortunately that still throws the below errortable-error.png

  • mterry Profile Picture
    84 on at

    @Gochix you have any other thoughts?

     

    Wonder if anyone else has any ideas?

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard