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

Filter dropdown value comparing two columns in same SP list

Hi.

 

I'm trying to filter Items in a dropdown:

I want to show all the items where ID is not present in Hovedkategori-ID. In this case I don't want items with ID 1 and 2 to show.

 

How do I do this? I thought maybe this would work, but obviously not (i also tried with "=" instead for "in":

 

 

Filter(Kategori, Not(ThisItem.ID in 'Hovedkategori-ID')

 

 

 

dropdown.png

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@PowerTegga 
I think your answer was very close to solving it.  Here's my solution.

Filter(Kategori, !(ID in Kategori.'Hovedkategori-ID'))

 


---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
Super User III
Super User III

@PowerTegga 
I think your answer was very close to solving it.  Here's my solution.

Filter(Kategori, !(ID in Kategori.'Hovedkategori-ID'))

 


---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Ahh, so close 😆

 

It works now. Thank you, @mdevaney 

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (19,557)