Forum Discussion
Clax
2 years agoNew Member
New slicer (2024) json theme script
Hello, I am trying to customize my own PBI theme. I have searched for any example for the new slicer, but I haven't reached to find anything about it. Could anybody help me with this?
- Anonymous2 years ago
Hi Clax ,
Based on my testing, it is impossible to apply json theme to new slicer visual.
1.Enter the following json.
{ "name": "slicer background format", "dataColors": [ "#f3c809" ], "visualStyles": { "slicer": { "*": { "background": [ { "show": true, "color": { "solid": { "color": "#f3c809" } } } ] } } } }2.Apply the json into the new slicer and slicer visual.
Based on my researching,
This issue has been identified as a known issue.
This issue is in the process of being fixed, but there is no estimated time for the fix at this time
Please be patient and wait for the fix. I will update here if there is any news.
Best Regards,
Wisdom Wu
ailinnesse
1 year agoFrequent Visitor
I can format new slicer:
"advancedSlicerVisual": {
"*": {
"value": [
{
"$id": "default",
"textWrap": true
},
{
"show": true
}
],
"outline": [
{
"$id": "default",
"lineColor": {
"solid": {
"color": "#868686"
}
},
"transparency": 20
},
{
"show": true
}
],
"fillCustom": [
{
"$id": "default",
"fillColor": {
"solid": {
"color": "#E6E6E6"
}
}
},
{
"show": true
}
],
"background": [
{
"show": true,
"color": {
"solid": {
"color": "#ECECEC"
}
}
}
]
}
}