web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

addCustomFilter - JS code does not filter lookup field

(0) ShareShare
ReportReport
Posted on by 183
Hello everyone,
i have a strange behaviour in using addCustomFilter trying to filter some values in a lookup field in my main form.
I need to exclude some values in the list of the lookup field
  1. If i put the code straight it works correctly:
  2. if i take the value to be filtered from another function (sing variable "includedValues") i can see that the filterXml is exactly the same but the lookup field is no filtered:
    in console i have this:
GUID are exactly the same, in the first step i put them manually, in the second step they are retrieved dinamically.
Thank you for your support!
 
Giovanni
Categories:
I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard