cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DuncanKlysh
Level: Powered On

Filter Drop Down Box based on previous choices

FYI I am stuck using the online version of PowerApps so struggling with some guides.

I am very new to this.

 

Two Parter Question:

I need my new app to do two things:

  1. I have 3 Drop downs, I need each one to reduce the options below
    1. Area makes only XYZ show in Line,
    2. Line makes ABC show in Zone
    3. Example.png
  2. I also need to after Picking the last Drop Down display Data and show cirtian fields
    1. Expiration A, B, & C has some Data based on the above options, and B & C may not be applicable depending.
    2. When I submit I need the Added data to also report to the Database

 

Example2.png

Example3.png

 

Can any one help me with how to do this?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Filter Drop Down Box based on previous choices

Hi @DuncanKlysh,

 

Check if below steps could achieve what you need:

 

 

1. Add Dropdown1 control for Area, set the Items property to:

 

["Area1","Area2"]

2. Add Dropdown2 control for Line/Gantry/Station, set the Items property to something like:

 

If(Dropdown1.Selected.Value="Area1",["X","Y","Z"],["W","O","S","X","Y","Z"])

3. Add Dropdown2 control for Zone, set the Items property to something like:

 

If(Dropdown2.Selected.Value="X",["A","B","C"],["A","B","C","D","E","F"])

4. Add TextInput1 control for ExpirationA.

5. Add TextInput2 control for ExpirationB, set the Visible property to something like:

If(Dropdown3.Selected.Value="A",true,false)

6. Do the same for ExpirationC as step 5.

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Filter Drop Down Box based on previous choices

Hi @DuncanKlysh,

 

Check if below steps could achieve what you need:

 

 

1. Add Dropdown1 control for Area, set the Items property to:

 

["Area1","Area2"]

2. Add Dropdown2 control for Line/Gantry/Station, set the Items property to something like:

 

If(Dropdown1.Selected.Value="Area1",["X","Y","Z"],["W","O","S","X","Y","Z"])

3. Add Dropdown2 control for Zone, set the Items property to something like:

 

If(Dropdown2.Selected.Value="X",["A","B","C"],["A","B","C","D","E","F"])

4. Add TextInput1 control for ExpirationA.

5. Add TextInput2 control for ExpirationB, set the Visible property to something like:

If(Dropdown3.Selected.Value="A",true,false)

6. Do the same for ExpirationC as step 5.

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,574)