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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
GoAnna
Frequent Visitor

Changing the color of the values in a table and a slicer using .son theme.

In order to have a light colored eraser in my slicers I use a theme that has light values in the column headers and values in the tables and the values in the slicer.

I am trying to change the values to the color #2B0A3D in my .json theme.

I have managed to change the column header in the table, but cannot work out how to change the values. (Before there was a table for visualName and cardName but this seems to have disappeared?)

Anyway, here in my .json file, very grateful for help in getting the values right in the slicers and tables:

{
"name":"NewExecutive",
"dataColors":["#12B3DB","#2B0A3D","#0070AD","#00C37B","#FF304C","#ECECEC","#80B8D6","#15596B","#3599B8","#DFBFBF","#4AC5BB","#5F6B6D","#FB8281","#F4D25A","#7F898A","#A4DDEE","#FDAB89","#B687AC","#28738A","#A78F8F","#168980","#293537","#BB4A4A","#B59525","#475052","#6A9FB0","#BD7150","#7B4F71","#1B4D5C","#706060","#0F5C55","#1C2325"],
"tableAccent":"#3257A8",
"maximum":"#3257A8",
"center":"#DD6B7F",
"minimum":"#D1DBF1",
"textClasses":{"label":{"fontFace":"Ubuntu","color":"#2B0A3D"},
"callout":{"fontFace":"Ubuntu","color":"#2B0A3D"},
"title":{"fontFace":"Ubuntu","color":"#2B0A3D"},
"header":{"fontFace":"'Ubuntu Medium', wf_segoe-ui_bold, helvetica, arial, sans-serif","color":"#2B0A3D"}},
"bad":"#FF304C","neutral":"#0070AD","good":"#00C37B",
"foreground":"#ECECEC",
"foregroundNeutralSecondary":"#ECECEC",
"backgroundLight":"#2B0A3D",
"foregroundNeutralTertiary":"#0070AD",
"backgroundNeutral":"#ECECEC",
"visualStyles":{
 
"*":{
"*":{
"outspacePane":[{
"checkboxAndApplyColor":{"solid":{"color":"#0070AD"}},
"foregroundColor":{"solid":{"color":"#2B0A3D"}}}],
"filterCard":[{"$id":"Applied",
"foregroundColor":{"solid":{"color":"#2B0A3D"}},
"backgroundColor":{"solid":{"color":"#ECECEC"}},
"transparency":0},
{"$id":"Available",
"foregroundColor":{"solid":{"color":"#2B0A3D"}},
"backgroundColor":{"solid":{"color":"#FFFFFF"}},
"transparency":0}]
}
},
  "tableEx": {
            "*": {
                "columnHeaders": [{
                    "fontColor": { "solid": { "color": "#2B0A3D" } }
  }],
"values": [{
                    "fontColor": { "solid": { "color": "#2B0A3D" } }
  }]
            }
        },
  "slicer": {
            "*": {
                "values": [{
                    "fontColor": { "solid": { "color": "#2B0A3D" } }
  }]
  }}}}
1 REPLY 1
agri
New Member

I have a similar problem, I'd like toi modify the values of my slicer but I can't. Even when I try to fix them:  "slicer": {
"*": { "header": [{
"fontColor": { "solid": { "color": "#243782"}},
"fontFace": "Aptos",
"textSize": 12
}],
"items": [{
"fontFace": "Aptos",
"fontSize": 12,
"color": "#243782"
}],
"title": [{
"fontFace": "Aptos",
"fontSize": 12,
"color": "#243782"
}],
"values": [{
"fontFace": "Aptos",
"fontSize": 12,
"color": "#243782"
}]
}}

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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