Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
HaveeshPerla_1
Helper II
Helper II

How to change the background color alone with the help of a button?

Hi Team,

 

I've a report and using a JSON theme for it. Now, there's a requirement where the background color alone has to be changed with help of a button when required. So please help me how do i acheive this swicth function of colour with a click.

 

Regards,

Haveesh

1 REPLY 1
PijushRoy
Super User
Super User

Hi @HaveeshPerla_1 

Please see the full video and implement the same for your report (only for the background color_
In video, 13.05 minutes, added shape on canvas. The canvas default background color is the same as the JSON color. When the button is pressed, the color will change
https://www.youtube.com/watch?v=OdavfckuNwc

 


If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.