Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

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?

6 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity 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"
                			}]
            		}
        		}
    	}
    }
    • Anonymous's avatar
      Anonymous
      Not 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's avatar
        v-jiascu-msft
        Icon for Microsoft Employee rankMicrosoft 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