cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bposa217
Regular Visitor

Filter Combo Box Value by another combo box selection

Hello,

 

As the title suggests, I am trying to filter/narrow down the values in one combo box ("Package Name") based upon the selection made in a previous combo box ("Client Name").  The data is coming from an imported table ("Table1") with two columns: "Client" & "Package."

 

When a client is selected in the "Client Name" combo box, I only want the "Package" items available in the 2nd combo box drop-down related to that client based upon the data included on the table.

 

There are some client names that exist once on the Table, and others that are listed multiple times.  I already have the Distinct formula set on the "Client Name" combo box, so that's all set.

 

How do I filter the values in the 2nd combo box based upon what has already been selected in the 1st?

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @bposa217 

 

Can you try to set the configuration of the controls as:

Combobox 1: Items -> Distinct(Table1,Client)

Combobox2: Items -> Filter(Table1, Client = Combobox1.Selected.Result).Package

Here, Table1 is the name of datasource with columns Package and Client. Combobox1 is the name of control for selecting the client.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @bposa217 

 

Can you try to set the configuration of the controls as:

Combobox 1: Items -> Distinct(Table1,Client)

Combobox2: Items -> Filter(Table1, Client = Combobox1.Selected.Result).Package

Here, Table1 is the name of datasource with columns Package and Client. Combobox1 is the name of control for selecting the client.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,317)