Forum Discussion

CountMcCracker's avatar
CountMcCracker
Frequent Visitor
1 year ago
Solved

Advanced Slicer Visual Theme Issue

Hello,    I’m working on standardizing Power BI themes across the organization and recently explored the Advanced Slicer Visual schema on GitHub. However, I’m encountering an issue with changing th...
  • OwenAuger's avatar
    1 year ago

    Hi CountMcCracker 

    I happened to be reading another thread here recently, and it looks like a similar issue.

    It appears that this property needs to be included

     

    "$id": "default"

     

    which specifies that the rounded corners apply by "default" for all states.

     

    Also, I believe it should be:

     

    "tileShape": "rectangleRounded"

     

     

    The full JSON snippet would be:

     

    "advancedSlicerVisual": {
      "*": {
    	"shapeCustomRectangle": [
    	  {
    		"$id": "default",
    		"tileShape": "rectangleRounded",
    		"rectangleRoundedCurve": 16
    	  }
    	]
      }
    }

     

     

    Does this work for you? Let me know if I've misunderstood something.

     

    I haven't completely trawled through the Report Theme JSON Schema to justify this yet but it appears to work.