This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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
@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
@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)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.