The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi friend,
My custome template is used and works fine with january 2023 release, but after up grade power bi desktop to version 2.117.984.0 (may 2023), now is showing error when importing the same custom theme. How can I fixed this?
This is the error and down is the JSON theme
#/visualStyles/barChart/*/title/0/alignment must be equal to constant (const; matching schema #/definitions/alignment/oneOf/0/const)
#/visualStyles/barChart/*/title/0/alignment must match exactly one schema in oneOf (oneOf; matching schema #/definitions/alignment/oneOf)
#/properties/visualStyles/properties/barChart/properties/*/allOf/1/properties/valueAxis/items/properties/position/oneOf)
#/visualStyles/barChart/*/valueAxis/0/labelColor/solid/color must be string (type; matching schema #/definitions/color/type)
#/visualStyles/barChart/*/valueAxis/0/labelColor must have required property 'gradient' (required; matching schema #/oneOf/1/required)
#/visualStyles/barChart/*/valueAxis/0/labelColor must NOT have additional properties (additionalProperties; matching schema #/oneOf/1/additionalProperties)
#/visualStyles/barChart/*/valueAxis/0/labelColor must have required property 'pattern' (required; matching schema #/oneOf/2/required)
* **** JSON THEME
{
"name": "customer template v1",
"textClasses": {
"label": {
"fontSize": 12,
"color": "#666666",
"fontFace": "Arial"
},
"callout": {
"fontSize": 12,
"fontFace": "Arial",
"color": "#666666"
},
"title": {
"fontFace": "Arial",
"color": "#666666"
},
"header": {
"fontSize": 12,
"fontFace": "Arial",
"color": "#666666"
}
},
"firstLevelElements": "#4C5356",
"secondLevelElements": "#4C5356",
"thirdLevelElements": "#4C5356",
"fourthLevelElements": "#4C5356",
"background": "#FFFFFF",
"secondaryBackground": "#D4D6D9",
"tableAccent": "#B0ADB3",
"dataColors": [
"#004666",
"#73B1DD",
"#FFFF00",
"#80B0C8"
],
"neutral": "#2274AC",
"minimum": "#73B1DD",
"center": "#FF871F",
"maximum": "#004666",
"bad": "#C82D20",
"good": "#51AE30",
"visualStyles": {
"*": {
"*": {
"background": [{
"color": {
"solid": {
"color": "#FFFFFF",
"transparency": 100
}
}
}],
"border": [{
"color": {
"solid": {
"color": "#FFFFFF",
"transparency": 100
}
},
"show": true,
"radius": 6
}],
"visualHeader": [{
"foreground": {
"solid": {
"color": "#666666",
"transparency": 100
}
},
"backgroundColor": {
"solid": {
"color": "red"
}
},
"transparency": 100
}],
"visualHeaderTooltip": [{
"text": "",
"titleFontColor": {
"solid": {
"color": "#666666"
}
},
"transparency": 0,
"background": {
"solid": {
"color": "red"
}
}
}],
"outspacePane": [{
"backgroundColor": {
"solid": {
"color": "#FFFFFF"
}
},
"foregroundColor": {
"solid": {
"color": "#828282"
}
}
}],
"filterCard": [{
"$id": "Applied",
"backgroundColor": {
"solid": {
"color": "#FFFFFF"
}
},
"foregroundColor": {
"solid": {
"color": "#7B7B7B"
}
},
"transparency": 0
},
{
"$id": "Available",
"foregroundColor": {
"solid": {
"color": "#7E7E7E"...
.... AND MORE ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.