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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.