Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
In the latest version 2.114.664.0 64-bit (February 2023) the requirements for importing a custom theme seem to have changed. For icons, the message from power bi reads:
#/icons must be array (type; matching schema #/properties/icons/type)
Looking in the schema, the way to resolve this seems to be to change the format from:
"icons": { "IconID": { "description": "IconDescription", "url": ""}}
To this:
"icons": [{"description": "IconDescription","url": ""}]
When you try to include the name of the icon, you receive this error message:
#/icons/0 must NOT have additional properties (additionalProperties; matching schema #/definitions/themeIcon/additionalProperties)
The issue lies in the fact that the name of the icon is used in conditional formatting to return a specific custom icon for a specific value, based on the field value. This is laid out in your 2019 feature summary https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2019-feature-summary/ (Icon sets for table and matrix)
This is a critical issue for our organisation as we are no longer able to update icons centrally, via a custom theme. Instead we will have to manually set up rules assigning each value a specific icon and then if we want to change them, go into every visual on every report where this icon appears, which is many many instances for us.
Removing this existing functionality in this update to the icons section of theme seems like a huge step backwards in the power of the themes and I hope that it can be restored so we may continue using the custom themes efficiently.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Product team will release it as part of the March Desktop release.