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
mungcalm
Regular Visitor

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.

1 ACCEPTED SOLUTION

What I was looking for is specifically this:

 

TableStyle.PNG

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

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 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

What I was looking for is specifically this:

 

TableStyle.PNG

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.