Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone,
I would like to ask. Is it possible to define formatting for specific column for matrix visual in JSON file?
I tried this:
"pivotTable": {
"*": {
"columnFormatting": [
{
"styleHeader": true,
"styleSubtotals": false,
"styleTotal": false,
"styleValues": false,
"alignment": "Left",
"backColor": {
"solid": {
"color": {
"expr": {
"ThemeDataColor": {
"ColorId": 1,
"Percent": 0
}
and this one:
"pivotTable": {
"*": {
"columnFormatting": [
{"properties":{
"backColor":{"solid":{"color":{"expr":{"Literal":{"Value":"#E6E6E6"}}}}},
"styleSubtotals":false,
"styleValues":false,
"styleHeader":true,
"alignment":"Center"},
"selector":{"metadata":"Calculations.PY*"}},
but it's not working at all.
Thanks a lot! 🙂
Could not find the solution as well.
Specific column is not part of JSON at all ☹️
Hello @LuciaK ,
You could easily specify it on the visual itself by each column.
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Hello @Idrissshatila
I know but we have many reports with the same formatting for matrix visuals so it'll be very helpful to have it defined once in the theme template.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |