cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Filter choices with <> operator?

Hello all,

 

I am trying to filter a "lookup" field in a sharepoint list based on additional data in the "other" SP list.

I am not sure how to use the <> (not) operator here, the editor shows me an error for this formula:

 

Filter(Choices(SPList2.Lookupfield1);
Value in Filter('SPList1'; 'Status' <> "approved").Titel)

 

The Choices part was already the default in the items field and represents the setting of the underlying SP list.

 

What is the limit of fields the function can operate on due to "delegation" limitation?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Filter choices with &lt;&gt; operator?

@OlafStetzer 

My guess is that your Status column is a choice column and not a Text column.

In this case, consider changing your 'Status' <> "Approved" to 'Status'.Value <> "Approved"

If that's not the case, then post back.

 

I hope that is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Filter choices with &lt;&gt; operator?

@OlafStetzer 

My guess is that your Status column is a choice column and not a Text column.

In this case, consider changing your 'Status' <> "Approved" to 'Status'.Value <> "Approved"

If that's not the case, then post back.

 

I hope that is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Advocate I
Advocate I

Re: Filter choices with &lt;&gt; operator?

@RandyHayes 

Thanks, indeed the column was a choice column and your suggestion worked.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,049)