Forum Discussion

Mesalomee's avatar
Mesalomee
Frequent Visitor
1 year ago
Solved

Help with Customizing Power BI Theme - Navigation Bar Shadow Properties Not Applying

Hi everyone, I'm customising a Power BI theme directly in the JSON file for more flexibility, but I'm struggling to apply shadow properties (set in Power BI Desktop via Format Pane > Style > Sha...
  • Mesalomee's avatar
    1 year ago

    I found the code that works, just had to pass properties as a separate object from "show": true

          "shadow":
          [
            {
              "show": true},
              {
                "$id": "default",
              "color": {
                "solid": {
                  "color": "#FCFCFC"
              }},
              "transparency": 50,
              "shadowBlur": 9,
              "shadowPositionPreset": "custom",
              "angle": 90,
              "shadowDistance": 12
            }
          ]