Forum Discussion
kmmy
3 years agoFrequent Visitor
conditional column icon custom
hello,
I want to add conditional column icon.
so I try to add theme code, but it doesn't work.
Error Code > #/icons must be array (type; matching schema #/properties/icons/type)
I attach my code.
{
"name": "Percent Icons",
"icons": {
"complete100": {
"url": "data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='50' fill='#008A00' /> </svg>",
"description": "100% Complete"
}
}
}
please help me.....
Thank you
2 Replies
- MarksmanWaugh79Frequent Visitor
I just want to point out that after recent Power BI updates, this JSON doesn't validate.
The error thrown will be something like what the OP posted: "#/icons must be array (type; matching schema #/properties/icons/type)
I haven't figured out the solution yet, hopefully someone who sees this has and can share!