Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

dropdown menu with a working button

how can i get a dropdown menu with a working button??

 

I have tried lots of coding i've found online but can't get it to work. My drop down menu named as dropdown1 and the options are BSC1, CV5 and PCR3. The pages I want the drop down menu to direct them to are labelled the same to make it easier. I'm trying to link the drop down with a confirm button that will then navigate the user to the pages

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@Emmabb I would recommend utilizing a switch in the onselect of your button

It would work like this

 

Switch(dropdown.selected.value,

"Possible Value 1", Navigate(where to go if this is outcome),

"Possible value 2", Navigate(where to go if this is outcome),

Navigate(where to go if outcome is not listed above)

)

 

On my vellphone so syntax may be slightly off but it should get you going in roght direction

Syndicate_Admin
Administrator
Administrator

@Emmabb , are you talking about a Canvas App? if so, you should be able to use this formula on the OnSelect property of your button: Navigate(dropdown1.SelectedText)

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors