cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JamesRocke
Frequent Visitor

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

}]

 

2 REPLIES 2
mohammedadnant
Impactful Individual
Impactful Individual

Hi @JamesRocke 

 

Please check this video https://youtu.be/puNmaPDPzLc

or this link for clarification

https://github.com/deldersveld/PowerBI-ThemeTemplates

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!

Thanks & Regards,
Mohammed Adnan
Learn Power BI: https://www.youtube.com/c/taik18

Hi @mohammedadnant 

 

I have previusly used the resorces you provided and neither of those were able to help me with this problem. 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors