web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering a dropdown f...
Power Apps
Answered

Filtering a dropdown from a Lookup table

(0) ShareShare
ReportReport
Posted on by 27

Hello,

 

I have a SharePoint list called Customer that has a Vendor field. This Vendor field is of type Lookup and pulls its data from another SharePoint list called Vendor List. Currently, I have the Vendor field tied to a dropdown in PowerApps and it works as expected.

 

Choices([@'Customer'].Vendor)

 

What I'm being asked to do is filter the vendors based on whether they are active or not. The Vendor List table consists of a Title (vendor name) and an Active field (Yes, No). I have added the Vendor List as a data source to my PowerApps form.

 

Filter(
Choices([@'Customer'].Vendor),
Value in Filter([@'Vendor List'], Active = true)

 

This code does not work. What am I missing?

 

Thanks! 

Categories:
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @altyrocks ,

    As your column type of Vendor column is lookup you can directly refer the values from Vendor list.

    Distinct(Filter('Vendor List', Active = true),Title)

    Assuming value of Vendor is stored in Title column of Vendor List

  • Verified answer
    v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @altyrocks ,

    Here is a test for your reference:

    Here is list:

    vchengfenmsft_0-1665564777307.png

     

    vchengfenmsft_1-1665564777310.png

     

    Here is test:

    vchengfenmsft_2-1665564777317.png

     

    Best Regards

    Cheng Feng

     

     

  • altyrocks Profile Picture
    27 on at

    Thank you so much! I appreciate you recreating this for me. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard