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
Anonymous
Not applicable

Theme json format problem

im trying to build custom theme from a json file. but it seems like some of the commands dont work.

 

when i try to edit pie or donut charts labels for example this is my code for piechart,

everything works but the marked lines: labelstyle and labelposition.

i cannot show the labels inside and use only data value, the default stays outside and data value, precent of toatl

 

 

idoabr_0-1648762141811.png

 

 

if someone got a json format with all the visuals and options will be great.

 

Thanks

2 REPLIES 2
selimovd
Super User
Super User

Hey @Anonymous ,

 

probably some mixup in the JSON file.

There is complete (as far as I know) theme file in the docu:

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#properties-within-each-card

 

Otherwise, did you try the theme generator from powerbi.tip:

https://themes.powerbi.tips/

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic

Anonymous
Not applicable

the option is not shown in the theme generator 😕

i followed the microsoft theme doco, but it still wont work.

 

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.