Forum Discussion

mungcalm's avatar
mungcalm
Regular Visitor
8 years ago
Solved

Custom Report Theme JSON: Table Style

Hello all,

 

Is there currently a way to set a default style for the table visual using custom themes?  I was looking through the documentation and could not find anything for it.  If not, are there plans to implement it in the future?

 

Thanks.

  • mungcalm's avatar
    mungcalm
    8 years ago

    What I was looking for is specifically this:

     

2 Replies

  • Hey,

     

    I use this JSON scheme to create a custom table style:

    {"name":"nameOfScheme"
        ,"dataColors":["#43D3E8","#E86232","#9B4507","#46B29D","#324D5C","#FC4F71","#324DBF","#D9D9D9"]
    	,"background":"#FFFFFF"
        ,"foreground": "#324D5C"
        ,"tableAccent": "#324D5C"
        ,"visualStyles":
        {"*":
            {"*":
                {"*":
                    [{
                        "fontSize":14
                        ,"fontFamily":"Segoe UI"
                        ,"color":{"solid":{"color":"#324D5C"}}
                    }]
                    ,"general":
                        [{
                            "responsive":true
                        }]
                    ,"plotArea":
                        [{
                            "transparency":50
                        }]
                }
            }
    	}
    }

    Here you will find a the theme generator:

    https://powerbi.tips/tools/report-theme-generator-v3/

     

    And here is some guidance how to use custom themes:

    https://docs.microsoft.com/en-us/power-bi/desktop-report-themes

     

    Hopefully this is what you are looking for

     

    Regards

    Tom 

    • mungcalm's avatar
      mungcalm
      Regular Visitor

      What I was looking for is specifically this: