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 Choice(s) on...
Power Apps
Answered

Filtering Choice(s) on a Combo Box Based on a Table Field

(0) ShareShare
ReportReport
Posted on by 32

I am attempting to filter a combo box on a form that lists choice values from another table. Below is a fictitious simple scenario to describe the requirement.

 

The main form shows the order with a combo box that allows the user to choose a customer. For a new order, I want the combo box to only display customers that are active. When editing the order, I want the combo box to display the customer associated with the order and only active customers if they want to change the customer.

 

Assume the tables below where the ORDER table has an established relationship to CUSTOMER. 

 

ORDER

order_idcustomer_id
1A
2B
3C

 

CUSTOMER

customer_idnameactive
AJackYes
BJillYes
CJohnNo

 

So on a new order, only customers A and B would be displayed in the combo box. If the form was displaying an existing order for customer C, customer C would be displayed and customers A and B would be displayed in the combo box.

 

I have tried using the Filter function without success. Any help is appreciated. The data source is Dataverse for Teams. Thank you.

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,699 Super User 2026 Season 1 on at

    Hello @jpalecek 

     

    Hope you are doing good.

     

    Do you want to use in PowerApps or Dataverse(Model Driven Apps)?

     

    If its model driven apps then we can use addfilter lookup using JS and Achieve it.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • jpalecek Profile Picture
    32 on at

    Hello @rampprakash ,

     

    It is not a model-driven app, but instead a canvas app in Teams using the data tables in Teams environment.

     

    Regards.

  • Verified answer
    jpalecek Profile Picture
    32 on at

    The solution that worked for me... 

     

    Items = Filter(customer, active)

     

    Note: 1) This is in a teams environment using Dataverse

    2) The field "active" in the "customer" table is of Yes/No data type.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard