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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Raffael
Frequent Visitor

JSON File Theme Help (MultiRowCard Labels, Table Values)

Hello Power BI Community,

 

I finished my first custom json-file theme and it works pretty well apart from two specific cardNames. 

 

"labels" in "tableEx" doesn't to have any effect on the tables, same goes for "labels" in "multiRowCard".

 

I already played around with the other cardNames in these visuals, they work as intended.

 

What i want to achieve:

Multi-row Card labels are black, font size 14, show no decimal digits and are fully displayed

Table background for values is always white, the font is always black, no outlines and font size 8.

 

below the code and what i get: RowCard labels are size 10, show multiple digits

table background different colors.

 

How to fix this? (if need be, i can supply the whole code, but i leave it out for now as it seems to be working as intended apart from these specific two)

 

Regards,

 

"labels": 
				[{
					"color": "#000000",
					"fontSize": 14,
					"labelPrecision": 0,
					"labelDisplayUnits": "None"
				}]
"values":[{
					"outline": "None",
					"backColorPrimary": "#ffffff",
					"backColorSecondary": "#ffffff",
					"fontColorPrimary": "#000000",
					"fontColorSecondary": "#000000",
					"fontSize": 8
				}],

Snap1.pngSnap2.png

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Raffael,

Based on my research, I am afraid you could just chang some formeting of the card visual with JSON file, you could refer to this link:

https://community.powerbi.com/t5/Webinars-and-Video-Gallery/How-to-create-a-Power-BI-theme-with-a-JS...

 

Regards,

Daniel He 

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

View solution in original post

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Raffael,

Based on my research, I am afraid you could just chang some formeting of the card visual with JSON file, you could refer to this link:

https://community.powerbi.com/t5/Webinars-and-Video-Gallery/How-to-create-a-Power-BI-theme-with-a-JS...

 

Regards,

Daniel He 

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

Hello Daniel,

 

i used exactly those videos and the pwoerbi-file to create my json file. So it seems that the JSON themes are not fully bugfree implemented yet (or maybe the file is just wrong regarding the property names, who knows...)

 

Regards,

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors