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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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