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 Gallery multipl...
Power Apps
Answered

Filter Gallery multiple criteria query

(0) ShareShare
ReportReport
Posted on by 1,257 Super User 2024 Season 1

Hi 

 

I'm trying to filter a gallery with multiple criteria but I can't seem to get it fully working !  no errors it's just not filtering on one of the fields.   The field that's not working is the TypeOfRequest field.   Here's what I've tried

 Filter(
 colGridData,
 VarMyProfile.mail in ProjectReaders.Email Or SubmittedBy.Email = VarMyProfile.mail,RequestStatus.Value <> "BackLog",RequestStatus.Value <> "Complete",RequestStatus.Value <> "De-Prioritized", TypeOfRequest<>"Legal"

 

Have tried this 

 Filter(
 colGridData,
 VarMyProfile.mail in ProjectReaders.Email Or SubmittedBy.Email = VarMyProfile.mail,RequestStatus.Value <> "BackLog",RequestStatus.Value <> "Complete" ,RequestStatus.Value <> "De-Prioritized" And TypeOfRequest<>"Legal"
 Filter(
 colGridData,
 VarMyProfile.mail in ProjectReaders.Email Or SubmittedBy.Email = VarMyProfile.mail,RequestStatus.Value <> "BackLog",RequestStatus.Value <> "Complete",RequestStatus.Value <> "De-Prioritized" || TypeOfRequest<>"Legal"

 

and a couple more  I think !  No errors it's filtering on all the other requirements fine  just not filtering out the Type of Request (It's a single line of text field in sharepoint)  

 

TIA

 

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

    Hi @vffdd ,

    That entire query is non-delegable - instead of filtering on what it does not equal, filter on what it does as below (this is also Delegable providing the top filter returns less than your Delegation Limit

    With(
     {
     wList:
     Filter(
     colGridData,
     RequestStatus.Value = "Value1" ||
     RequestStatus.Value = "Value2" ||
     RequestStatus.Value = "Value3"
     )
     },
     Filter(
     wList,
     TypeOfRequest <> "Legal"
     )
    )

     

    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.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @vffdd ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

    Visit my blog Practical Power Apps

  • vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    Hi @WarrenBelz  no haven't gotten it working yet.  I have it working with <> not equal in another app and I just want it to work the same.  I'll keep trying to see what the difference in the 2 are

  • Verified answer
    vffdd Profile Picture
    1,257 Super User 2024 Season 1 on at

    Got it working !  I won't even tell you the stupid mistake I was making LOL my original first option I gave above worked !! (ok I'll confess I was using the wrong field name,, so the of course it was never going to filter those ones out becuase they weren't in that field !!) no excuses LOL

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard