The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have been building this JSON file where I have set defautl parameters for each visual we are using in our reports.
But there is this "Card" visual required on all our reports that is used to display a list of filters applied.
Normally, I would apply a standard background color #"E1F4F0", but for this particular visual, I'd like to be able to remove the background color when applying the theme.
I want to be able to update themes on existing reports, including this specific visual that could eventually need to be updated to a new color palette for example.
I can't use templates for that, because that requires to rebuild the report entirely.
I can't use custom visuals because of an internal policy.
Anyone knows a way of defining this set of properties but on a specific visual name?
"card": {
"*": {
"labels": [
{
"color": { "solid": { "color": "#00483C" } },
"fontSize": 24,
"fontFamily": "Segoe UI Bold"
}
],
"categoryLabels": [
{
"show": true,
"color": { "solid": { "color": "#00483C" } },
"fontSize": 10,
"fontFamily": "Segoe UI Semibold"
}
],
"wordWrap": [
{
"show": true
}
],
"background": [
{
"show": true,
"color": {
"solid": {
"color": "#E1F4F0"
}
},
"transparency": 0
}
]
}
},
The background propety would be set to "show: false" instead of the default code you see here.
Hi @FireFighter1017 ,
The Theme file is the standard definitions for you visuals you cannot set a specific color based on the values you have on your visuals (title, fields values, etc) since the theme is agnostic from the model. You need to change this specific card manually.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português