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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

BUG: When using custom theme cannot select theme's color in data set.

Reproducing bug

1) I created a custom theme see below:

 

{
	"name": "TEST",
	"dataColors": [
		"#00457C",
		"#9D9494",
		"#009BA4",
		"#A6B5CC",
		"#009FE3",
		"#E6007E",
		"#76B82A",
		"#EF7D00",
		"#FFDD00"
	],
	"background": "#FFFFFF",
	"foreground": "#6F6F6F",
	"tableAccent": "#00457C",
	"visualStyles": {
		"*": {
			"*": {
				"*": [
					{
						"fontSize": 10,
						"fontFamily": "CaeciliaCom",
						"titleFontFamily":"CaeciliaCom",
						"secFontFamily":"CaeciliaCom",
						"secTitleFontFamily":"CaeciliaCom"
					}
				]
			}
		},
		"*": {
			"*": {
				"grid": [
					{
						"outlineColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"gridVertical": true,
						"gridVerticalColor": {
							"solid": {
								"color": "#A6B5CC"
							}
						},
						"gridHorizontal": true,
						"gridHorizontalColor": {
							"solid": {
								"color": "#9D9494"
							}
						}
					}
				],
				"columnHeaders": [
					{
						"fontColor": {
							"solid": {
								"color": "#ffffff"
							}
						},
						"backColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 12,
						"fontFamily": "CaeciliaCom"
					}
				],
				"rowHeaders": [
					{
						"fontColor": {
							"solid": {
								"color": "#ffffff"
							}
						},
						"backColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 12,
						"fontFamily": "CaeciliaCom"
					}
				],
				"values": [
					{
						"backColorSecondary": {
							"solid": {
								"color": "#DBE1EB"
							}
						},
						"fontSize": 10,
						"fontFamily": "DINPro"
					}
				],
				"dataLabel": [
					{
						"fontColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 10,
						"fontFamily": "DINPro"
					}
				],
				"target": [
					{
						"fontColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 10,
						"fontFamily": "DINPro"
					}
				],
				"title": [
					{
						"fontColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 10,
						"fontFamily": "CaeciliaCom"
					}
				],
				"X-Axis": [
					{
						"fontColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 10,
						"fontFamily": "CaeciliaCom"
					}
				],
				"Y-Axis": [
					{
						"fontColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 10,
						"fontFamily": "CaeciliaCom"
					}
				],
				"legend": [
					{
						"fontColor": {
							"solid": {
								"color": "#00457C"
							}
						},
						"fontSize": 10,
						"fontFamily": "CaeciliaCom"
					}
				]
			}
		}
	}
}

2) Import a custom visual, such as "synopticPanelByOKViz-1.5.0", or use any standard visual that you can control dataset colors

3) Try to adjust the color by selecting a theme color and you will see that your choise is not respected unless you enter the color manualy with the HTML code

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,


2) Import a custom visual, such as "synopticPanelByOKViz-1.5.0", or use any standard visual that you can control dataset colors

By my tests, the custom visuals will not apply report theme which is mentioned in official document.

 

Capture.PNG

 

However, the standard visuals in Power BI should apply report theme by my tests.

 

Untitled.png

 

If you still need help, please share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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