Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Drop Shadow Custom Preset JSON

Hello,

 

I need some help. I was able to target the Preset with the Custom dropdown and the transparency but I am unable to target distance, size, blur, and angle. What are the object names so I can target?

 

Here is my current JSON:

"dropShadow": [
          {
            "show": true,
            "color": {
              "solid": {
                "color": {
                  "expr": {
                    "ThemeDataColor": {
                      "ColorId": 0,
                      "Percent": -0.1
                    }
                  }
                }
              }
            },
            "position": "Outer",
            "preset": "Custom",
            "shadowSize": 15,
            "distance": 0.5,
            "transparency": 70
          }
        ]
1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

maybe this is what you  are looking for:

 

{\"dropShadow\":[{\"properties\":{\"show\":{\"expr\":{\"Literal\":{\"Value\":\"true\"}}},
\"preset\":{\"expr\":{\"Literal\":{\"Value\":\"'Custom'\"}}},
\"shadowSpread\":{\"expr\":{\"Literal\":{\"Value\":\"11D\"}}},
\"shadowBlur\":{\"expr\":{\"Literal\":{\"Value\":\"24D\"}}},
\"angle\":{\"expr\":{\"Literal\":{\"Value\":\"114D\"}}},
\"transparency\":{\"expr\":{\"Literal\":{\"Value\":\"41D\"}}},
\"shadowDistance\":{\"expr\":{\"Literal\":{\"Value\":\"52D\"}}}}}
]}

 

To discover these values, I do the following ...

  1. Create a very simple and small pbix (basically, I created this pbix some time ago)
  2. Create a visual using the formatting options I want to track down (I always change an existing default value)
  3. Save and close the pbix
  4. Create a copy of the pbix x
  5. Rename the suffix of the copy to zip
  6. Trackdown the Layout file in the reports folder and track down the visualization options.

Hopefully, this is what you are looking for.

 

Regards,

Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey @Anonymous ,

 

maybe this is what you  are looking for:

 

{\"dropShadow\":[{\"properties\":{\"show\":{\"expr\":{\"Literal\":{\"Value\":\"true\"}}},
\"preset\":{\"expr\":{\"Literal\":{\"Value\":\"'Custom'\"}}},
\"shadowSpread\":{\"expr\":{\"Literal\":{\"Value\":\"11D\"}}},
\"shadowBlur\":{\"expr\":{\"Literal\":{\"Value\":\"24D\"}}},
\"angle\":{\"expr\":{\"Literal\":{\"Value\":\"114D\"}}},
\"transparency\":{\"expr\":{\"Literal\":{\"Value\":\"41D\"}}},
\"shadowDistance\":{\"expr\":{\"Literal\":{\"Value\":\"52D\"}}}}}
]}

 

To discover these values, I do the following ...

  1. Create a very simple and small pbix (basically, I created this pbix some time ago)
  2. Create a visual using the formatting options I want to track down (I always change an existing default value)
  3. Save and close the pbix
  4. Create a copy of the pbix x
  5. Rename the suffix of the copy to zip
  6. Trackdown the Layout file in the reports folder and track down the visualization options.

Hopefully, this is what you are looking for.

 

Regards,

Tom 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Thank you so much! Exactly what I was looking for.

Hey @Anonymous ,

 

please mark my previous post as an answer as this will help others.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.