Forum Discussion

Maikel10909's avatar
Maikel10909
New Member
3 years ago
Solved

Custom theme bug since new update

Hello,

 

I am facing a problem with the latest PowerBI update regarding a custom theme that I made. It involves only the KPI visual as far as I can tell. 
The VerticalAlignment keyword must be "left, right or center" since the latest update. However, it should be "top, middle, bottom" in the PowerBI desktop application.

 

If I change VerticalAlignment to Middle, it gives an error (incorrect type). If I change it to center, it doesn't give an error, but my value does not show until I manually change the alignment in desktop to Middle. 

 

Here is the Json code:

 

"kpi": {
"*": {
"indicator": [
{
"indicatorDisplayUnits": 0,
"indicatorPrecision": 0,
"fontSize": 45,
"fontFamily": "wf_standard-font, helvetica, arial, sans-serif",
"bold": false,
"italic": false,
"underline": false,
"fontColor": {
"solid": {
"color": "#252423"
}
},
"horizontalAlignment": "center",
"verticalAlignment": "center",
"iconSize": 9
}
],

3 Replies