Forum Discussion
Themes - font size issue
I have a dozen of matrix tables in several reports. I am not satisfied with the font its have (not looks good).
My idea is to use Themes to change a font size in all my reports.
I downloaded a json file template from:
https://github.com/deldersveld/PowerBI-ThemeTemplates
Then with Switch/Import Themes option in Power BI Destop tried to implement this theme on my test matrix.
The result is some other formatting attributes changed but not a font. In any place like column headers, rows and values font stayed as in original format.
Do not know why. What is a reason, what is wrong here?
Hi Anonymous,
This behaviour is by design. Please refer to desktop-report-themes#situations-when-report-theme-colors-wont-stick-to-your-reports. The customization by users will be respected.
Best Regards,
Dale
6 Replies
- Greg_Deckler
Community Champion
This is what I use:
{ "name": "Presentation", "dataColors": ["#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000", "#000000"], "background":"#FFFFFF", "foreground": "#000000", "tableAccent": "#000000", "visualStyles": { "*": { "*": { "*": [{ "fontSize": "18" }] } } } }- AnonymousNot applicable
Thanks,
I noticed imported themes do not affect existing visualisations. If I create new visualisation I see it uses new theme but new theme does not affect previously made visualisations. I tested my code and Greg's one. To reproduce this issue just create any matrix table using any sample of data then implement Greg's theme - in my case theres is no effect.
I am using Power BI desktop. Should I do refresh or something after implementing a theme?
- v-jiascu-msft
Microsoft Employee
Hi Anonymous,
The whole report will apply the new theme immediately when the new theme is imported. Did you use the latest version of Power BI? Please upgrade first.
Best Regards,
Dale
- v-jiascu-msft
Microsoft Employee
Hi Anonymous,
Please add a "fontFamily" parameter if needed. Reference: power-bi/desktop-report-themes.
"fontFamily": "Cambria"
Best Regards,
Dale