Forum Discussion
.json and custom visuals with power bi theme possible?
Hi,
We have a .json theme file and can customise vast majority of properties of visuals which ship with power bi o.k e.g. background.
However, when try and set the propertries of a custom visual such as advance card as per below - no impact .eg. background property unchanged when import theme file unlike other visuals which change the background as expected.
Does anyone know if possible to use custom visuals in the .json theme file or not?
Just wondering if possible to use custom visuals in the .json theme file?
"advanceCard": {
"*": {
"labels": [{
"color": { "solid": { "color": "#063d73"}},
"fontSize": 14
}],
"background": [{
"show": true,
"transparency": 70,
"color": { "solid": { "color": "#Febe10" } }
}]
}
}
Yes, it's possible. Please use advanceCardE03760C5AB684758B56AA29F9E6C257B instead of advanceCard
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Conditional colors are not supported for Power BI themes.
Hierarchy Slicer is: HierarchySlicer1458836712039
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
16 Replies
- v-viigCommunity Champion
Yes, it's possible. Please use advanceCardE03760C5AB684758B56AA29F9E6C257B instead of advanceCard
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- poPost Prodigy
Hi,
Thanks for answer.
Do you know if possible to set the colour of the conditions within this visual?
e.g would like to use if value = -1 then "#.....'
if value = 0 then "#...'
if value = 1 then '#..'
to colour code values shown our colour of green amber red rather than set manually?
Also is there some documentation anywhere which says the name of custom visuals to use?
We also use hierarchical slicer which I'm guessing may have name which not sure of for the local .json
Do you know name to use for this one?
Thanks again.
- v-viigCommunity Champion
Conditional colors are not supported for Power BI themes.
Hierarchy Slicer is: HierarchySlicer1458836712039
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- AnonymousNot applicable
How did you find this out?
- v-viigCommunity Champion
Anonymous What are you asking about?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- metabaseNew Member
did not work for me 😞