Forum Discussion
replace button with Dropdown
Hello,
I have created a page with four buttons on it, and on click of each button map gets changed. I am doing this by showing hiding bookmark.
My requirement is: Instead of buttons I need a dropdown list on whcih I select and Map gets change. Any possibility to do it?
Thanks
spathak04 wrote:
Thank you for the help.
I am stuck with the legend thing. My four selections have a different legends associated with them. THose legends have the categories defined in it. And based on legends my colors are defined. I have four caculated column for four maps and those calculated columns are my legends.
Right now I dont find any option to dynamically select legends based on my selection from slicer.So you also want to make the four calculate legend columns to be shown on the button based on the slicer, right? I'm afraid currently power bi doesn't support this. As a workaround, you may try Button and Bookmark in power bi.
Regards,
Jimmy Tao
5 Replies
- spathak04Helper IIWhen you click a button it shows a different map with different attributes. Basically I have four bookmarks which hides and show based on a button action.
- v-yuta-msftCommunity Support
Hi spathak04,
Based on your description, your 4 button actions(inside bookmarks) are based on the same dataset, right? If so, you can add a new column in your table which contains 4 flags like below and create a slicer based on the selection column:
Regards,
Jimmy Tao
- spathak04Helper II
Thank you for the help.
I am stuck with the legend thing. My four selections have a different legends associated with them. THose legends have the categories defined in it. And based on legends my colors are defined. I have four caculated column for four maps and those calculated columns are my legends.
Right now I dont find any option to dynamically select legends based on my selection from slicer.- v-yuta-msftCommunity Support
spathak04 wrote:
Thank you for the help.
I am stuck with the legend thing. My four selections have a different legends associated with them. THose legends have the categories defined in it. And based on legends my colors are defined. I have four caculated column for four maps and those calculated columns are my legends.
Right now I dont find any option to dynamically select legends based on my selection from slicer.So you also want to make the four calculate legend columns to be shown on the button based on the slicer, right? I'm afraid currently power bi doesn't support this. As a workaround, you may try Button and Bookmark in power bi.
Regards,
Jimmy Tao