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 Platform Community / Forums / Power Apps / addCustomFilter - JS c...
Power Apps
Unanswered

addCustomFilter - JS code does not filter lookup field

(0) ShareShare
ReportReport
Posted on by 184
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard