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

Theme - card - category labels - colours

 

Hi Community,

 

I am trying to set colours of 'card' for its category colours via themes.

The data font, color, size are working fine but when I set the category label color, I have not been able to set it correctly.

here is the code

 

		"card": {
			"*": {
				"labels": [{
						"show": true,
						"color": {
							"solid": {
								"color": "#B3B3B3"
							}
						},
						"labelPrecision": 1,
						"fontSize": 26,
						"fontFamily": "Segoe UI light"
					}
				],
				"Category labels":[{
								"show": true,
								"color": {
								"solid": {
								"color": "#B3B3B3"
							}
						}
						
					}]
			}
		},

so here, first segment, ie labels is working, but the second segment, category label isnt working. I get default colors for the card category label.

 

following from PBI Desktop - section I am trying to change in card visual.

 

Any help will be highly appriciated.

Regards

emudria

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Just figured it out, it was supposed to be 

"categoryLabels":[{

instaed of 

"Category labels":[{

 resolved.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Just figured it out, it was supposed to be 

"categoryLabels":[{

instaed of 

"Category labels":[{

 resolved.

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.

Top Solution Authors