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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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