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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
jpmuk
Frequent Visitor

JSON Theming - Setting All Second Level Elements?

Hi All, 

I'm working on a Corperate JSON theming file at my work, and one of the issues I've come to at the moment is trying to set the colour of all the Second Level Elements in the JSON directly. 😢

 

In Desktop, it will allow you to customise the current theme and you can set the colour of all second level elements globally there.

How would I set this in the JSON itself? 🤔

1 ACCEPTED SOLUTION
selimovd
Super User
Super User

Hey @jpmuk ,

 

I'm not fully sure if I understood what you mean with the second level element.

But anyway, try the theme generator of powerbi.tips. There you can do the settings as in Power BI Desktop and download the generated theme.json.

 

After you understand the syntax, you can include that in your theme.

Here is the link:

https://themes.powerbi.tips

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
Connect with me: LinkedIn

View solution in original post

1 REPLY 1
selimovd
Super User
Super User

Hey @jpmuk ,

 

I'm not fully sure if I understood what you mean with the second level element.

But anyway, try the theme generator of powerbi.tips. There you can do the settings as in Power BI Desktop and download the generated theme.json.

 

After you understand the syntax, you can include that in your theme.

Here is the link:

https://themes.powerbi.tips

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic
Connect with me: LinkedIn

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.