dropShadow json working on Desktop but not working on Service
Hi. I need to change my PBI UI to match the web site where it is embedded. My first idea was creating a json theme to match everything. Then I found the issue.
I'm having an issue with a json file for Power Bi Themes. The property "dropShadow" is not working in Power Bi Service. I can import the json in Desktop and I can see the new shadow configurated. However after I publish I check the Service and won't see a shadow there. All the properties are applied but the shadow isn't.
I tried several reports in different workspaces with different jsons. All with the same result. The shadow just won't be render in service. The worst part is that if you download the pbix from service the Desktop will see the shadow. It's crazy.
This is a small example of the shadow property:
{"name":"My Theme",
"tableAccent":"#B3D234",
"dataColors":["#63C67C",
"#03B4CE",
"#F7C347",
"#F0845C",
"#4758E0",
"#F46565",
"#6D5AE1",
"#DD6FCD"],
"visualStyles":{
"*":{
"*":
{
"*":
"dropShadow": [{
"show": true,
"angle": 100,
"color" : { "solid": { "color": "#8692A3" } },
"position": "Outer",
"preset": "Custom",
"shadowBlur": 10,
"shadowDistance": 10,
"shadowSpread": 3,
"angle": 45,
"transparency": 70
}]
}
}
}
}
I have even tried with the most complete examples in github:
https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/GlobalLevelTemplate.json
Those one won't work either.
I'm using the msi installer 2.83.5894.961 64-bit (july 2020). I have checked the forum for topics like this one: https://community.powerbi.com/t5/Service/JSON-Theme-working-on-Power-BI-Desktop-but-not-Working-on-Power/m-p/1219637#M102397
The july version doesn't work for me.
I'm sure it's not a json problem because it is working fine in desktop.
Hope next power bi release can help me.
2 Comments
- v-yuta-msft
Community Support
- ibarrau
Super User
Of course. A friend has found it. I have tried with different browsers, datasets, workspaces and VMs. The shadows won't come up if they are configurated by json file.