cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Xv
Frequent Visitor

When editing list item that has lookup field, Is it possible to filter the lookup field based on a value in the secondary list?

I have a list that has a column of type Lookup. I would like to limit the values that appear in the lookup dropdown when editing the list item. Is it possible to apply a filter to the dropdown based on other columns in the secondary list?

 

I hope this makes sense.

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@Xv 

Yes, you can use a Filter in the formula for your Items of the Dropdown.

In General:

   Filter(yourOtherList, someColumn = whateverYouWantForCriteria)

If it is based on a value in the current list, then just utilize that in your filter.

Ex.

   Filter(yourList, ProductCategory = ThisItem.Category)

 

I hope this 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.
Check out my PowerApps Videos too!

View solution in original post

1 REPLY 1
RandyHayes
Super User III
Super User III

@Xv 

Yes, you can use a Filter in the formula for your Items of the Dropdown.

In General:

   Filter(yourOtherList, someColumn = whateverYouWantForCriteria)

If it is based on a value in the current list, then just utilize that in your filter.

Ex.

   Filter(yourList, ProductCategory = ThisItem.Category)

 

I hope this 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.
Check out my PowerApps Videos too!

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (43,292)