Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

choose theme button

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

  • Anonymous's avatar
    Anonymous
    4 years ago

    This became possible outside Power BI in the embedded portal using javascript. 

6 Replies