Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
How do you turn a button into a different colour when its pressed?
@parry2k
Solved! Go to Solution.
Hi, @karam1
You may go to ‘Home’ ribbon, click ‘Button’, select a button type.
Then you can make the button selected, go to ‘Visualizations’, select ‘Fill’, configure ‘Fill color’ for ‘Default state’ as white and ‘Fill color’ for ‘On press’ as blue.
Finally, the color turns from white to blue when you click the button.
Best Regards,
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
When I turn on fill for a button upon press, how do I get the fill color to stay? By pressing the button, it changes visuals, and I want to be able to know the button was pressed by having the fill color present.
Hi @karam1 ,
has your question been answered?
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi, @karam1
You may go to ‘Home’ ribbon, click ‘Button’, select a button type.
Then you can make the button selected, go to ‘Visualizations’, select ‘Fill’, configure ‘Fill color’ for ‘Default state’ as white and ‘Fill color’ for ‘On press’ as blue.
Finally, the color turns from white to blue when you click the button.
Best Regards,
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @karam1
here the link to the official documentation.
https://docs.microsoft.com/en-us/power-bi/desktop-buttons
You may also be interested in the conditional formatting from the November release.
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-november-2019-feature-summary/
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
@karam1 not sure you mean when you press the button and its' color changed. you can set on press property to change the color
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@karam1 According to @parry2k you can change the button's color /font on "On Press" status.
Don't forget to hit THUMBS UP and mark it as a solution if it helps you!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |