Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in BI by (11.1k points)

I am using a customize theme for Power Bi and It is giving me an error and the following are the measures:

  • vert grid = No with 1 thickness and white
  • Horiz grid = No with 1 thickness and white
  • Row padding = 10
  • Outline = 1 thickness as white
  • text size = 19
  • column font = white with #234A6A background and is autosized using Arial 18 font

So where am I going wrong? 

1 Answer

0 votes
by (22.5k points)

Follow the code below:

{
   "name":"My Theme",
   "background":"#01B8AA",
   "foreground":"#01B8AA",
   "tableAccent":"#01B8AA",
   "dataColors":[
      "#2F628D",
      "#448DCA",
      "#01B8AA"
   ],
   "visualStyles":{
      "*":{
         "*":{
            "*":[
               {
                  "fontSize":16,
                  "fontFamily":"Arial",
                  "color":{
                     "solid":{

                     }
                  }
               }
            ]
         }
      },
      "tableEx":{
         "*":{
            "grid":[
               {
                  "gridVertical":false,
                  "gridVerticalColor":{
                     "solid":{
                        "color":"#01B8AA"
                     }
                  },
                  "gridVerticalWeight":1,
                  "gridHorizontal":false,
                  "gridHorizontalColor":{
                     "solid":{
                        "color":"#01B8AA"
                     }
                  },
                  "gridHorizontalWeight":1,
                  "rowPadding":10,
                  "outlineColor":{
                     "solid":{
                        "color":"#01B8AA"
                     }
                  },
                  "outlineWeight":1,
                  "textSize":19
               }
            ],
            "columnHeaders":[
               {
                  "fontColor":{
                     "solid":{
                        "color":"#01B8AA"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#01B8AA"
                     }
                  },
                  "autoSizeColumnWidth":true,
                  "fontFamily":"Arial",
                  "fontSize":18
               }
            ]
         }
      }
   }
}

If u want to know more about the course then check the Power Bi Certification  

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jan 11, 2021 in BI by Chris (11.1k points)
0 votes
1 answer
asked Dec 26, 2020 in BI by Chris (11.1k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...