Forum Discussion

JHob's avatar
JHob
Icon for Advocate I rankAdvocate I
5 years ago
Solved

Custom Font in Power BI

Hi

 

I am trying to change my font in Power BI to Arial Nova which comes with Windows 10.  I have setup a custom theme which is working for everything except Arial Nova as I have tried alternative fonts. Any suggestions as to why this font doesn't work?

 

Any help appreciated!

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi JHob ,

     

    Create this theme and import it.

     

    Else if you have a theme already, create the visual syle for global access by using * .

     

     

    "name":"Change fontfamily",
    	"visualStyles":{
            "*":{
                 "*":{
    		"*":[
                   {
                      "fontSize":11,
                      "fontFamily":"Arial Nova"
                   }
                ],
                "title":[
                   {
                      "show":true,
                      "fontColor":{
                         "solid":{
                            "color":"#FFFFFF"
                         }
                      },
                      "background":{
                         "solid":{
                            "color":"#52351f"
                         }
                      },
                      "allignment":"center"
                   }
                ],
                "background":[
                   {
                      "show":true,
                      "color":{
                         "solid":{
                            "color":"#FFFFFF"
                         }
                      },
                      "transparency":0
                   }
                ],
                "lockAspect":[
                   {
                      "show":true
                   }
                ],
                "border":[
                   {
                      "show":false
                   }
                ],
                "visualTooltip":[
                   {
                      "type":"Default"
                   }
                ],
                "stylePreset":[
                   {
                      "name":"None"
                   }
                ],
                "labels":[
                   {
                      "fontColor":{
                         "solid":{
                            "color":"#000000"
                         }
                      }
                   }
                ]
             }
          },
          "page":{
             "*":{
                "background":[
                   {
                      "color":{
                         "solid":{
                            "color":"#e6e6e6"
                         }
                      },
                      "transparency":0
                   }
                ]
             }
          }
       }
    }

     

     

     

     

     

    Regards,
    Harsh Nathani
    Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi JHob ,

     

    Create this theme and import it.

     

    Else if you have a theme already, create the visual syle for global access by using * .

     

     

    "name":"Change fontfamily",
    	"visualStyles":{
            "*":{
                 "*":{
    		"*":[
                   {
                      "fontSize":11,
                      "fontFamily":"Arial Nova"
                   }
                ],
                "title":[
                   {
                      "show":true,
                      "fontColor":{
                         "solid":{
                            "color":"#FFFFFF"
                         }
                      },
                      "background":{
                         "solid":{
                            "color":"#52351f"
                         }
                      },
                      "allignment":"center"
                   }
                ],
                "background":[
                   {
                      "show":true,
                      "color":{
                         "solid":{
                            "color":"#FFFFFF"
                         }
                      },
                      "transparency":0
                   }
                ],
                "lockAspect":[
                   {
                      "show":true
                   }
                ],
                "border":[
                   {
                      "show":false
                   }
                ],
                "visualTooltip":[
                   {
                      "type":"Default"
                   }
                ],
                "stylePreset":[
                   {
                      "name":"None"
                   }
                ],
                "labels":[
                   {
                      "fontColor":{
                         "solid":{
                            "color":"#000000"
                         }
                      }
                   }
                ]
             }
          },
          "page":{
             "*":{
                "background":[
                   {
                      "color":{
                         "solid":{
                            "color":"#e6e6e6"
                         }
                      },
                      "transparency":0
                   }
                ]
             }
          }
       }
    }

     

     

     

     

     

    Regards,
    Harsh Nathani
    Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)