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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
DaleH
Resolver I
Resolver I

Create json Theme for non-standard visuals

I'm creating a Theme and want to style the "Power KPI 2.0.0" chart type visual.  How do I find out what the value pair would be?

 

This line is for a "KPI" chart type.

DaleH_0-1661008432465.png

 

Thx

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @DaleH

 

First, create an empty Power BI file, add a visual, set all the properties you want, save the file, and close Power BI Desktop. Next, you rename the file from *.pbix to *.zip and unzip the file. A detailed description of all files in the unzipped folder can be found here. Find the file Report/Layout in which all visuals of the report sheets are defined. 

vjianbolimsft_2-1661844161621.png

 

Open the file in your preferred editor and format it as JSON. Then, navigate to the page with your visuals and find the visual you want to analyze. Go to the config property and copy its content. Replace \" with" and format the JSON code again. You will get the following: 

vjianbolimsft_1-1661844084415.png

For more details, please refer to:

How To Discover Undocumented Theme Settings in Power BI Desktop | by Nolock | Medium

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-jianboli-msft
Community Support
Community Support

Hi @DaleH

 

First, create an empty Power BI file, add a visual, set all the properties you want, save the file, and close Power BI Desktop. Next, you rename the file from *.pbix to *.zip and unzip the file. A detailed description of all files in the unzipped folder can be found here. Find the file Report/Layout in which all visuals of the report sheets are defined. 

vjianbolimsft_2-1661844161621.png

 

Open the file in your preferred editor and format it as JSON. Then, navigate to the page with your visuals and find the visual you want to analyze. Go to the config property and copy its content. Replace \" with" and format the JSON code again. You will get the following: 

vjianbolimsft_1-1661844084415.png

For more details, please refer to:

How To Discover Undocumented Theme Settings in Power BI Desktop | by Nolock | Medium

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@DaleH , Check if the theme generator can help

https://powerbi.tips/tools/report-theme-generator-v3/

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak , Thx for that information.

 

That tool only addresses the Out Of The Box visuals.  The 'Power KPI 2.0.0' is from the "Get more visuals".  Not sure if you know how to get that list of names.

 

Here is an additional tool for creating Themes which I have been using:

themes.pbix - PowerBI Theme Generator by POINT. Consulting GmbH

https://themegenerator.point-gmbh.com/en/visuals/Page

 

Thank you for your efforts.

 

 

Hi can I modify synoptic panel (map visual) with this page ?

 

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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