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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors