cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Dropdown selection going to specific screens

On my dropdown I have 5 different options. I want to go to a different screen everytime a user selects a different option.

 

Currently I have a formula under items: Distinct(Table1, Protection) which is pulling the options from an excel sheet. I have 2 formulas working together, one under OnChange: UpdateContext({Switch1:true} and the other under fill: If(Switch1,RGBA( 74, 144, 226, 1 ),RGBA( 74, 144, 226, 0.2 )). This just changes the opacity from 20% to opaque when the user selects the dropdown.

 

My question is how do I combine 2 actions. I know that I must use a navigate action under OnChange, but there already is an action there.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

Re: Dropdown selection going to specific screens

you can add multiple functions just seperate them with ;

 

So for example your OnChange function would be

 

UpdateContext({Switch1:true};
Navigate(Screen2,None)

View solution in original post

1 REPLY 1
Highlighted
Anonymous
Not applicable

Re: Dropdown selection going to specific screens

you can add multiple functions just seperate them with ;

 

So for example your OnChange function would be

 

UpdateContext({Switch1:true};
Navigate(Screen2,None)

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,730)