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

navigate to different screen based off drop down selection

 I have a share point list with a column that has 3 choices to choose from. I created a drop down and  I want to send the user to a certain page based off their selection.  What is the right formula? This is my attempt based off what powerapps prompted me and my limited experience. The error message clears but the button only navigates to the false screen. I do not understand how to get powerapps to recognize that the text matches the dropdown value. 

If(DataCardValue21.Selecteditems.Value = "Assigned",Navigate(Screen3,ScreenTransition.None), Navigate(Screen4,ScreenTransition.None))

 

1 ACCEPTED SOLUTION

Accepted Solutions
EricLott
Level 10

Re: navigate to different screen based off drop down selection

You can use a switch for this:

 

Switch(DataCardValue21.Selected.Value,
"Assigned", Navigate(Screen3,ScreenTransition.None),
"Selection1", Navigate(Screen4,ScreenTransition.None),
"Selection2", Navigate(Screen5,ScreenTransition.None),
"Selection3", Navigate(Screen6,ScreenTransition.None),
Navigate(Screen4,ScreenTransition.None)
)

 

---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

View solution in original post

4 REPLIES 4
Super User
Super User

Re: navigate to different screen based off drop down selection

Try this:

If(DataCardValue21.Selected.Value = "Assigned",Navigate(Screen3,ScreenTransition.None), Navigate(Screen4,ScreenTransition.None))

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com
EricLott
Level 10

Re: navigate to different screen based off drop down selection

You can use a switch for this:

 

Switch(DataCardValue21.Selected.Value,
"Assigned", Navigate(Screen3,ScreenTransition.None),
"Selection1", Navigate(Screen4,ScreenTransition.None),
"Selection2", Navigate(Screen5,ScreenTransition.None),
"Selection3", Navigate(Screen6,ScreenTransition.None),
Navigate(Screen4,ScreenTransition.None)
)

 

---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

View solution in original post

AGaudioASG
Level: Powered On

Re: navigate to different screen based off drop down selection

This worked Thanks!

EricLott
Level 10

Re: navigate to different screen based off drop down selection

Good to hear, @AGaudioASG. Keep in mind the last value is the "default" if no other conditions are satisfied. If you don't want a default, just use false as your last argument.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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