cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tapesh
Post Prodigy
Post Prodigy

how can i fix navigate screen issue with dropdown selected value

Hi all 

 

I'm trying to add some functionality to my app using if function and navigate to a different screen when the only specific value has been selected by user from the dropdown menu. 

 

for e.g I want the app to function is such a way that when person clicks only on another department from the dropdown menu, only then he should see another screen, or else he should be on the same screen. 

 

I tried to use this formula: 

 

 
If(Dropdown1.Selected.'Department ' = "Others", Navigate(FormScreenOthers))

 

However this functionality works well it navigates to another screen, but it even performs the navigation task even a user selects the dropdown bar, where I have other departments. 

 

basically, I only want the user to move on the next screen if 

1. He selects new forms 

2. selects another department 

 

any help is appreciated 

 

Please find the attachment for more details 

 

 

thanks 

 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Switch(Dropdown.Selected.Value="DepartmentA",
Navigate(Screen1,ScreenTransition.None),
"Others",
Navigate(Screen3,ScreenTransition.None)
Replace the screen name with yours. Also You can add more list of Departments

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Tapesh ,

How do you determine what is “another department”. Do you have a reference list somewhere - if so what is it called and what are the fields relevant to what you are doing.

eka24
Super User
Super User

Switch(Dropdown.Selected.Value="DepartmentA",
Navigate(Screen1,ScreenTransition.None),
"Others",
Navigate(Screen3,ScreenTransition.None)
Replace the screen name with yours. Also You can add more list of Departments

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,604)