web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / DropDown based navigation
Power Apps
Answered

DropDown based navigation

(0) ShareShare
ReportReport
Posted on by 32

I have a SQL table containing a list of form names with a second column mapping to the Screen Name in PowerApps as they appear, and this populates the Items property of a dropdown containing the form names which is filtered from other Cascading dropdowns to filter the options for different forms depending on whether the user has selected month/Year/Week etc. in a preceding dropdown

 

However, I can't seem to Navigate to a new screen based on the selection the user has made in the dropdown and then looking up the corresponding Screen Name of their selection. It seems to reject any Navigation containing a variable. 

 

All the advice I've read is that I should use a table for the dropdown, or a switch statement on the Navigate, but I have around 50-75 possible entries, and because it's filtered based on other dropdowns, so is this functionality supported yet? 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @robinthakur :

    Do you want to use the ‘Screen Name’ value of an item in the SQL table as a parameter of Navigate() function to dynamically navigate to a Screen?

    If so,I'm afraid it can not be achieved. Because screen is actually a control, it can only be called by hard-coding. So, I think using Switch is the best way I can think of.The code should be:

    Switch(
     Lookup(YourSQLTabel,XXXXXXX).'Screen Name',
     "Screen1",
     Navigate(Screen1),
     "Screen2", 
     Navigate(Screen2)
    ……
    )

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard