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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
sfuhr
Frequent Visitor

Change table design with JSON theme

Hello -

 

i have the challenge to modify some colors to match our CI guidelines - using tables and matrix in Power BI i need to change the background color of the column headers. I tried the following JSON input:

 

{
"name":"test design",
"dataColors": [ "#004459", "#54B7C6", "#AB0953", "#BAC405", "#667C72", "#633A11", "#006686", "#AB0953" ],
"background":"#F5F8FC",
"foreground":"#003366",
"tableAccent":"#214F80",

"visualStyles": {

	"tableEx": {
			"*": {	
				"columnHeaders": [{
				            "backColor":"#004459",
				            "fontColor":"#ffffff",
							"wordWrap":false,
							"fontSize":9,
				            "urlIcon":true
                            }],
					"values": [{
							"wordWrap":false,
							"fontSize":8,
						    "urlIcon":true
                            }]
						}
				}
			}
	}

Syntax seems to be ok - font size and other parameters changing - "backColor" is not working at all. Any thoughts what i'm doing wrong or is it a bug?

 

Many thanks and best regards,

Stephan

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

I was able to use this to change the background color of my table headers:

 

{"name":"My Theme","visualStyles":{"*":{"*":{"*":[{"color":{"solid":{}}}]}},"tableEx":{"*":{"columnHeaders":[{"backColor":{"solid":{"color":"#123456"}}}]}}}}



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

I was able to use this to change the background color of my table headers:

 

{"name":"My Theme","visualStyles":{"*":{"*":{"*":[{"color":{"solid":{}}}]}},"tableEx":{"*":{"columnHeaders":[{"backColor":{"solid":{"color":"#123456"}}}]}}}}



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Great - works perfect! Thanks a lot @Greg_Deckler 

 

best regards,

Stephan

No problem, I recommend @Mike_Carlo's https://powerbi.tips for this. Use the Advanced Theme Generator to stitch together the right syntax!



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Users online (3,535)