Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I need to change the theme of report (light to dark or dark to light) by clicking on a button. This is similar to Power BI embedded analytics playground's choose theme button in the below link:
https://playground.powerbi.com/en-us/showcases-gallery/personalize-report-design
So the user can choose dark or light themes by just clicking the button.
Any suggestion, how to achieve this?
Thanks
Solved! Go to Solution.
This became possible outside Power BI in the embedded portal using javascript.
This became possible outside Power BI in the embedded portal using javascript.
Hi @Anonymous,
Could you provide a little more detail on your actual solution?
It may help others that come across this post.
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Hi @PBICommunity ,
I am still looking for the solution. the reply above by @mohammedadnant doesn't help.
Please suggest if we can switch 2 different themes for single power bi report on click or using button.
Thanks
As far as I know, it is not currently possible without a lot of work with bookmarks to fake it.
Please vote for this idea.
https://ideas.powerbi.com/ideas/idea/?ideaid=781638b4-9b86-eb11-8ced-281878e6452b
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Hi @Anonymous
You can check this link for this
thanks @mohammedadnant for your comment. This just gives to choose color options using chicklet slicer. However, I need to switch in beteen two different theme based on the entire JSON file which include details about most of the visuals and their formatting.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 21 | |
| 20 | |
| 12 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 42 | |
| 36 | |
| 35 |