Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Im creating a JSON file with the formats and colors that i use in my company.
I want to set the alignment of the values as center (by default).
I have edited the json file based on this documentation:
https://github.com/mattrudy/PowerBI-ThemeTemplates/blob/master/Table.json
But i can't find the proper field to format:
"tableEx": {
"*": {
"general": [{
"responsive": true,
"keepLayerOrder": true
}],
"background": [{
"show": true,
"color": { "solid": { "color": "#232323"}},
"transparency": 0
}],
"border": [{
"color": { "solid": { "color": "#232323"}},
"show": true,
"radius": 6
}],
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#ffffff" } },
"background": { "solid": { "color": "#232323" } },
"alignment": "center"
}],
"grid": [{
"gridVertical": false,
"gridVerticalColor": { "solid": { "color": "#FFB8DD"}},
"gridVerticalWeight": 2,
"gridHorizontal": false,
"gridHorizontalColor": { "solid": { "color": "#FFB8DD"}},
"gridHorizontalWeight": 2,
"rowPadding": 2,
"outlineColor": { "solid": { "color": "#FFB8DD"}},
"outlineWeight": 0,
"textSize": 14,
"imageHeight": 100
}],
"columnHeaders": [{
"fontColor": { "solid": { "color": "#ffffff"}},
"backColor": { "solid": { "color": "#232323"}},
"outline": "Frame",
"autoSizeColumnWidth": true,
"fontFamily": "Segoe UI",
"fontSize": 10,
"alignment": "Center",
"wordWrap": true
}],
"values": [{
"fontColorPrimary": { "solid": { "color": "#ffffff"}},
"backColorPrimary": { "solid": { "color": "#232323"}},
"fontColorSecondary": { "solid": { "color": "#ffffff"}},
"backColorSecondary": { "solid": { "color": "#333333"}},
"outline": "none",
"urlIcon": true,
"wordWrap": true,
"fontFamily": "Segoe UI",
"fontSize": 8
}],
"total": [{
"totals": true,
"fontColor": { "solid": { "color": "#ffffff"}},
"backColor": { "solid": { "color": "#232323"}},
"outline": "Frame",
"fontFamily": "'Segoe UI Bold', wf_segoe-ui_bold, helvetica, arial, sans-serif",
"fontSize": 8
}],
"stylePreset": [{
"name": "none"
}]
}
}
Can someone help me?
Hi @Renan_DFB
Thanks for reaching out to us.
If you try to add "alignment": "center" in Values, will it work?
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!