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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
gooranga1
Power Participant
Power Participant

"there's a problem with the report theme" Error Message

I have had a theme for about 4 years which I have used in all our power bi files with no problem I have just upgraded to the latest version of Power BI and when I try to use the theme I get an error box that doesn't even have an ok button visible to cancel the message.

themeerror.png

 

{
   "name":"Company",
   "dataColors":[
      "#004E9B",
      "#36BCEE",
      "#00B388",
      "#4B4F54",
      "#F5C040",
      "#05E0DB",
      "#FD625E",
      "#ba3b32",
      "#5BD0B0",
      "#54D028",
      "#D0F540",
      "#057BE0",
      "#FB8281",
      "#F4D25A",
      "#7F898A",
      "#A4DDEE",
      "#FDAB89",
      "#B687AC",
      "#28738A",
      "#A78F8F",
      "#168980",
      "#293537",
      "#BB4A4A",
      "#B59525",
      "#475052",
      "#6A9FB0",
      "#BD7150",
      "#7B4F71",
      "#1B4D5C",
      "#706060",
      "#0F5C55",
      "#1C2325"
   ],
   "background":"#FFFFFF",
   "foreground":"#4584D3",
   "tableAccent":"#31B6FD",
   "textClasses":{
      "callout":{
         "fontSize":30,
         "fontFace":"Calibri"
      },
      "title":{
         "fontSize":10,
         "fontFace":"Calibri",
         "color":"#FFF"
      },
      "header":{
         "fontSize":10,
         "fontFace":"Calibri",
         "bold":true
      },
      "label":{
         "fontSize":10,
         "fontFace":"Calibri",
         "color":"#FFF"
      }
   },
   "visualStyles":{
      "pivotTable":{
         "*":{
            "subTotals":[
               {
                  "rowSubtotals":true,
                  "columnSubtotals":true,
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#44B2E8"
                     }
                  },
                  "fontFamily":"Calibri",
                  "bold":false,
                  "fontSize":10,
                  "applyToHeaders":true,
                  "rowSubtotalsPosition":"Top",
                  "perRowLevel":false,
                  "perColumnLevel":false
               }
            ],
            "values":[
               {
                  "fontFamily":"Calibri",
                  "fontSize":10
               }
            ]
         }
      },
      "*":{
         "*":{
            "*":[
               {
                  "fontFamily":"Calibri"
               }
            ],
            "header":[
               {
                  "show":true,
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "background":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  }
               }
            ],
            "title":[
               {
                  "show":true,
                  "fontColor":{
                     "solid":{
                        "color":"#FFFFFF"
                     }
                  },
                  "background":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  }
               }
            ],
            "grid":[
               {
                  "outlineColor":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  }
               }
            ],
            "columnHeaders":[
               {
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  },
                  "bold":true,
                  "fontSize":10
               }
            ],
            "rowHeaders":[
               {
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  },
                  "stepped":false
               }
            ],
            "subTotals":[
               {
                  "rowSubtotals":true,
                  "columnSubtotals":true,
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#44B2E8"
                     }
                  },
                  "fontSize":11,
                  "fontFamily":"Calibri",
                  "applyToHeaders":false,
                  "rowSubtotalsPosition":"Top",
                  "perRowLevel":false,
                  "perColumnLevel":false
               }
            ],
            "total":[
               {
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#4B4F54"
                     }
                  },
                  "fontSize":11
               }
            ],
            "rowTotal":[
               {
                  "fontColor":{
                     "solid":{
                        "color":"#FFF"
                     }
                  },
                  "backColor":{
                     "solid":{
                        "color":"#4B4F54"
                     }
                  },
                  "fontSize":12,
                  "fontFamily":"Calibri"
               }
            ],
            "values":[
               {
                  "fontColorPrimary":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  },
                  "fontColorSecondary":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  },
                  "fontSize":10
               }
            ],
            "categoryAxis":[
               {
                  "concatenateLabels":false
               }
            ],
            "border":[
               {
                  "color":{
                     "solid":{
                        "color":"#215AA8"
                     }
                  },
                  "show":true,
                  "radius":5
               }
            ],
            "visualTooltip":[
               {
                  "titleFontColor":{
                     "solid":{
                        "color":"#FFFFFF"
                     }
                  },
                  "valueFontColor":{
                     "solid":{
                        "color":"#FFFFFF"
                     }
                  }
               }
            ],
            "targetLabel":[
               {
                  "fontColorPrimary":{
                     "solid":{
                        "color":"#000000"
                     }
                  },
                  "fontColor":"#000000"
               }
            ]
         }
      }
   }
}

 

this is the theme code which has alwats worked previously. Anyone spot abything I am doing wrong here? 

1 ACCEPTED SOLUTION
gooranga1
Power Participant
Power Participant

ok it looks like this block is the culprit

   "textClasses":{
      "callout":{
         "fontSize":30,
         "fontFace":"Calibri"
      },
      "title":{
         "fontSize":10,
         "fontFace":"Calibri",
         "color":"#FFF"
      },
      "header":{
         "fontSize":10,
         "fontFace":"Calibri",
         "bold":true
      },
      "label":{
         "fontSize":10,
         "fontFace":"Calibri",
         "color":"#FFF"
      }
   },

. Once removed it will now import ok. Just in case anyone runs into this. 

View solution in original post

3 REPLIES 3
gooranga1
Power Participant
Power Participant

ok it looks like this block is the culprit

   "textClasses":{
      "callout":{
         "fontSize":30,
         "fontFace":"Calibri"
      },
      "title":{
         "fontSize":10,
         "fontFace":"Calibri",
         "color":"#FFF"
      },
      "header":{
         "fontSize":10,
         "fontFace":"Calibri",
         "bold":true
      },
      "label":{
         "fontSize":10,
         "fontFace":"Calibri",
         "color":"#FFF"
      }
   },

. Once removed it will now import ok. Just in case anyone runs into this. 

Hi @gooranga1 ,

It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. Could you please mark your post as Answered? It will help the others in the community find the solution easily when they face the same problem as yours.  Thank you.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

To be honest, that isn't much of a solution or explanation for why themes that have worked for ages suddenly don't work anymore. 

 

I have the same with all my themes, and I don't want to delete blocks of theme settings that have always worked. Why are "additional properties" suddenly not allowed?

 

Sjoerd_g_0-1676979748865.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.