cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper IV
Helper IV

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.

 

Luca
1 ACCEPTED SOLUTION
Anonymous
Not applicable

@laciodrom_80,

 

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

View solution in original post

43 REPLIES 43
Helper I
Helper I

@laciodrom_80 @ritaroy_14 @kiran142001 @puriaseem @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 

Regular 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!

New Member

Hi @laciodrom_80 

Thank you for sharing, it works fantastic. Cheers👍

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

New Member

Hi Luca,

I have the same requirement too. Please could you share the file to

afroz.mohamed@gmail.com

Thanks 🙂

Regular Visitor

@laciodrom_80 

could you please send it to me as well?

purpliie.li@gmail.com

 

thank you!

@purpliie , just sent! 😉

Luca
Anonymous
Not applicable

Hi @laciodrom_80 

 

I have same requirement. Can you please share me the example as well?

 

@Anonymous, @moons  done!!!  😉

Luca
Anonymous
Not 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 backgroundNo backgroundHighlighted buttonHighlighted buttonWhat it looks likeWhat it looks like

 

 

 

 

 

 

 

Br, 

T

Hi @Anonymous,

 

thanks for the hint, unfortunatelly I'm just using bookmarks to change the visibility of visualizations on the same page Smiley Sad

Luca
Anonymous
Not applicable

@laciodrom_80,

 

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

View solution in original post

Did this work for you? I'm trying this approach but the background color of the rectangle is not sticking with the bookmark.  I have display checked off in the bookmark selection.  How do you get the rectangle to keep the background percentage setting? 

yes it works, if you want I've a simple pbix file for example. Give me a mail address, I'll send it to you

 

bye

Luca

Hi I have the same requirement. Can you kindly share the file with me in ruchhi.bedi@gmail.com

 

Thanks. 

Can you please share the sample file? thanks!

looking for same type of requirement. Could you please send me the PBIX file. email : kiran14200128@gmail.com

looking for same type of requirement. Could you please send me the PBIX file.

Can i have the sample PBIX file please

I am looking for same type of requirement. Could you please send me the PBIX file.

 

Thanks.

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Wave Release 2

Check out the updates in Power BI.

Overview of Power BI 2020 release wave 2!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors