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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.