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
ToddChitt
Super User
Super User

Theme elements complete list

Is there documentation anywhere on the complete list of Power BI Theme JSON elements? The Customize Current Theme options is woefully lacking. Example: for Visuals, you can set the Border to be ON, but you can't set the Shadow property, which, for just about every visual is a close cousin. What is the element name for setting the Shadow properties in a JSON theme? Do we have to guess?

 

Is there documentation out there?

 

Thanks in advance




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





2 ACCEPTED SOLUTIONS
PijushRoy
Super User
Super User

Hi @ToddChitt 

Please find the MS Documentation
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-fi...

 


If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
www.MyAccountingTricks.com 
https://www.youtube.com/MyAccountingTricks

 

View solution in original post

bcdobbs
Super User
Super User

Have a look at

https://github.com/MattRudy/PowerBI-ThemeTemplates



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

5 REPLIES 5
ToddChitt
Super User
Super User

@bcdobbs @PijushRoy thank you both for your suggestions, good content and links.

 

On a somewhat related topic: When I search the reportThemeSchema.json file for "Matrix" nothing comes up. However, I did come accross "pivotTable" as one of the visual elements. I'm sort of assuming the two are synonomous. Why call it one thing in the desktop design user interface, but use a totally different name for it in the theme file? That plus the fact that my Visual Studio Code does not behave as the documentation states it should here: Use report themes in Power BI Desktop - Power BI | Microsoft Learn in regard to Find Visual Properties to set is going to make this a challenging exercise.

 

Thanks again for the tips. I'll slug through it.




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Do you mean the json isn't formatted in vs code? Should just be a case of right clicking  and then "format document".

 

As to the naming I'm afraid I don't know.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Hello @bcdobbs and thanks for the response.

My JSON document formats just fine in Visual Studio Code. The issue is centered around VS Code and pulling up the auto-complete options from the schema. The documentation shows this snippet:

2024-01-29_08-46-06.jpg

When I try the same thing, however, the list of auto-complete options is made up of elements in the preceeding JSON, not from the schema:

 

2024-01-29_08-53-41.jpg

I have traced the difference down to the fact that I am trying to modify the dropShadow of ALL (*) visualStyles, not just "azureMaps" as shown in the documentation. 

 

My personal opinion is that the user experience has some room for improvement. 

Again, thank you for the links.

 

 




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





bcdobbs
Super User
Super User

Have a look at

https://github.com/MattRudy/PowerBI-ThemeTemplates



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
PijushRoy
Super User
Super User

Hi @ToddChitt 

Please find the MS Documentation
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-fi...

 


If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush
www.MyAccountingTricks.com 
https://www.youtube.com/MyAccountingTricks

 

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.