Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Power BI table formatting in custom theme

Working on a custom made theme, specifically the table visual. When I import a custom font it all works fine except the fact that the table totals can only be controlled by table value settings. The totals can't be controlled by the 'total' settings. For example if I bold the table values it bolds the totals too, but when I try to bold just the totals nothing happens. Same thing for font size but if I change the font to any normal font it all works perfectly. The font I am importing is 'Univers 67'. Here is the JSON for the values and the totals.

 

            "values": [{

"fontColorPrimary": { "solid": { "color": "#3f4649"}},

"backColorPrimary": { "solid": { "color": "#eeeeee"}},

"fontColorSecondary": { "solid": { "color": "#3f4649"}},

"backColorSecondary": { "solid": { "color": "#fafafa"}},

"outline": "",

"urlIcon": true,

"wordWrap": false,

"fontFamily": "Univers 67 bold Condensed",

"fontSize": 9.5

}],

"total": [{

"totals": true,

"fontColor": { "solid": { "color": "#3f4649"}},

"backColor": { "solid": { "color": ""}},

"outline": "",

"fontFamily": "Univers 67 bold Condensed",

"fontSize": 25.5,

"bold": true

}]