Forum Discussion

Clax's avatar
Clax
New Member
2 years ago
Solved

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?
  • Anonymous's avatar
    Anonymous
    2 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