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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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/

Share with Power BI Enthusiasts: 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.