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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors