Forum Discussion
Theme JSON code for Total labels
- 4 years ago
Hi Garrysfarrell ,
Here's what you need to add to your barChart theme section:
"totals": [
{
"show": true,
"color": { "solid": { "color": "#FFFFFF" } },
"fontSize": 9,
"fontFamily": "Segoe UI"
}
],
You can sometimes discover the correct terminology by looking in the Layout file inside the unzipped PBIX file.
Hope that helps!Regards,
Roger
Hi Garrysfarrell ,
Check the newly updated one:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
- Garrysfarrell4 years agoFrequent Visitor
I used this code. Not sure if this is correct but it didn't work. Pic below highlighting the "Total Labels" that I'm trying to change with the theme.
"total": [
{
"show": true,
"color": { "solid": { "color": "#448822" } },
"fontSize": 9,
"fontFamily": "Arial"
}
]- v-kelly-msft4 years agoCommunity Support
Hi Garrysfarrell,
Try below json code:
"total": [ { "show Total": true, "TotalLable":"Total", "color": { "solid": { "color": "#448822" } }, "fontSize": 9, "fontFamily": "Arial" } ]Or check below blog for help:
https://zebrabi.com/power-bi-themes/
Best Regards,
KellyDid I answer your question? Mark my reply as a solution!