Forum Discussion
Highlight clicked button
Hi guys,
I've got some buttons to switch between some bookmarks and I wish to make highlighted last clicked button for example changing its background color or other. Any idea?
Thanks a lot in advance for any clue.
- Anonymous8 years ago
It just occurred to me that there might be a workaround. What about setting the button background to 100% for all bookmarks and then have colored rectangles behind buttons that change visibility according to the bookmarks...could this reproduce a highlighted button effect?
Br,
T
54 Replies
- AnonymousNot applicable
Here we go. Absolutely ridiculous functional oversight of the day. You can configure absolutely everything else apart from the button active state. But why would anyone want to do that?!
- AnonymousNot applicable
Hacky workarounds. I love em
- adp_81Frequent Visitor
I know this is an old topic and it also has an accepted solution
Anyway I found another way to do this, and I find it simpler than the other one (not cleaner though)
What about having two buttons, one with the desired "clicked" style and the other with the "not clicked" style. Both in the same position, overlapping each other. And toggle their visibility using bookmarks according to the desired output you want to show?
I've test it and works as expected.
Hope this may help anyone.
- hiranHelper I
ah smart. didn't think of this, thanks!
- OmatkoicorkoNew Member
thats amazing, something that is normal in other BI tools like in MicroStrategy and takes 30 seconds, here is an art of state in workarounds, working with power bi for a while and it feels liek downgrade to other tools
- AnonymousNot applicable
Hi laciodrom_80,
You are on the right track.
I use buttons for e.g. navigation between pages and need to highlight the last clicked button so the user knows what page they are on.
I do this by disabling the fill option in the button formatting and enabling the background option in the bookmark the button navigates to. Note, this approach doens't quite work if the bookmarks are used to change the visibility of visualizations on the same page and you want the filters to carry between bookmarks (atleast I haven't gotten it to function properly, could work though.)
No backgroundHighlighted buttonWhat it looks like
Br,
T
- laciodrom_80Helper IV
Hi Anonymous,
thanks for the hint, unfortunatelly I'm just using bookmarks to change the visibility of visualizations on the same page :smileysad:
- AnonymousNot applicable
It just occurred to me that there might be a workaround. What about setting the button background to 100% for all bookmarks and then have colored rectangles behind buttons that change visibility according to the bookmarks...could this reproduce a highlighted button effect?
Br,
T
- AnonymousNot applicable
laciodrom_80 Anonymous kiran142001 Anonymous praveeney
All,
Changing Fill & Background option cant be Highlighted Clicked Button 😠1`
Its a very simple just you need to use multiple buttons to achive this feature
Please download the sample attached pbix file here
Highlight Clicked Button Sample PBIX File
Incase of any challanges related to DAX please connect with me on HAREESH MALLURI - rakshanNageshRegular Visitor
I think Bookmark Navigator can help you out in this requirement.
This video describes bookmark navigators. - AnonymousNot applicable
- laciodrom_80Helper IV
Anonymous , just sent! 😉
- AnonymousNot applicable
- makassemNew Member
Hi Luca,
I have the same requirement too. Please could you share the file to
Thanks 🙂
- makassemNew Member
Thank you for sharing, it works fantastic. Cheers👍
- naizamHelper II
thanks laciodrom_80 for sharing. It works like a charm 👍
Hope Power BI team provide a fix via formatting in the future releases.
Thanks,
Naizam
- jorisvpRegular Visitor
Hi laciodrom_80 , I'm also very interested in your solution. Could you also send me the file? joris_v_p [at] hotmail [.com]
Thank you!
- Alisea_MIResolver II
laciodrom_80
Hi, would you be so kind to email me your pbx as well? I also need to set it up for my user. [email protected]
Many thanks in advance!