cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Continued Contributor
Continued Contributor

Filter Drop Down with not equal?

I am trying to populate my Dropdown box with all locations but the present one:

 

 

Filter(LocationCollection,loCode != txtLocation.Text)

 

loCode is the equivalent field in the collection.

It doesn't like !=

How do I do not equal in this context?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Filter(LocationCollection,loCode = txtLocation.Text)

If you want not equal to use
Filter(LocationCollection,loCode <>txtLocation.Text)

If loCode is a number field use
Filter(LocationCollection,loCode = Value (txtLocation.Text))

View solution in original post

1 REPLY 1
Super User III
Super User III

Filter(LocationCollection,loCode = txtLocation.Text)

If you want not equal to use
Filter(LocationCollection,loCode <>txtLocation.Text)

If loCode is a number field use
Filter(LocationCollection,loCode = Value (txtLocation.Text))

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (5,597)