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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aparna-bh
Frequent Visitor

Can we add options for setting shadow in Power BI custom theme file for card visual?

I was trying to set the values of shadow through Themes file using the following script but doesn't seem to work.

"dropShadow": [{
"show": true,
"color": {"solid": {"color": "#001747"}},
"preset":"Custom",
"position":"Outside",
"size":0,
"blur":5,
"angle": 30,
"distance":0,
"transparency":80
}]
Kindly advise. Thank you.
1 ACCEPTED SOLUTION
3 REPLIES 3
aparna-bh
Frequent Visitor

Also, trying to set for ChicletSlicers as well. Is there anyway we can get the details of json keys for each visualization?

aparna-bh
Frequent Visitor

Thank you so much. This helped.The following settings work.

"dropShadow": [{
"show": true,
"color": {"solid": {"color": "#001747"}},
"preset":"Custom",
"position":"Outside",
"shadowSpread":0,
"shadowBlur":5,
"angle": 30,
"shadowDistance":0,
"transparency":80
}]

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.