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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering Choice(s) on...
Power Apps
Unanswered

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,593 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard