Skip to content

PowerBI-tips/PowerBI-ThemeTemplates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Power BI Theme Templates

Validate JSONs Monitor Document Links

Snippets for assembling Power BI Themes

Get them here or view the visual list below

  • Are you working with Themes in Power BI but confused about the visual formatting options (visualStyles)?
  • Have you struggled while trying to make sense of the Power BI report themes documentation?
  • Do you like JSON?
  • Do you like sample code?
  • Do you like other people doing most of the labor for you?

If you answered "Yes" to any of the questions above, this repo is for YOU!

Sample Power BI Shape Template

Changing colors in Power BI themes is fairly straightforward. For formatting, the wildcard(*) to make universal changes is convenient. If you want to go deeper into individual visual properties, however, it can quickly get confusing. With these sample templates, explore the individual properties available to each visual (as well as shapes and images). Combine the per-visual templates as needed, alter the values to correspond to your own needs, and build your own Power BI theme.

The purpose of this repository is to provide detail-level reference for each native visual in its own separate file. Look at the format options for a visual in Power BI Desktop and compare to the JSON options side by side. Copy and paste what you need from each visual's JSON to assemble a master Theme file.

Please note that the values in these sample files will appear ugly. Many values are not Power BI's defaults. As soon as something worked, I moved on to the next property. Please modify or remove properties in your own theme file to be what you desire.

Global Level Template 🌎

Adjust titles, backgrounds, report page tooltips, wallpaper, and more for some or all visuals on a page or all pages.

Available Visuals 📊

How do you find theme properties? 🔍

It's possible to explore a Power BI Desktop file on your local computer to see the properties that are set, even if they aren't documented by Microsoft yet. Check out this great article for a guide on how to extract these properties.

About this repository: ❔

For questions not answered here, you can View the FAQ.
If you have a question or find an issue, you can Create a new issue.

Areas considered "In-Scope" for this repository: ✅

  1. one global-level theme template to help understand global-level settings.
  2. one template per available visual, covering all default Power BI visuals as well as many custom visuals, to help understand visual-level settings.

Areas considered "Out-of-Scope" for this repository: 🚫

  1. pre-built color themes (You can find these in Microsoft's official themes gallery)
  2. Theme samples to solve specific problems such as adding outlines or hiding visual headers on every visual (You can find these samples in mattrudy/PowerBIThemeSolutions)
  3. JSON file generator for anyone who doesn't want to write their own JSON file (You can use the JSON Generator from PowerBI.Tips)

CI/CD and Automation 🤖

There are several helpful levels of automation that help this project stay valid over time.

When someone new adds an Issue or Pull Request to the project:

Link to Action Description
Housekeeping - Welcome New Contributors They are greeted, thanked, and pointed to helpful links

When a template or file is added/edited:

Link to Action Description
Validate Docs Any hyperlinks are tested to make sure they are valid
Validate JSONs Any JSON files are scanned to make sure they are valid

Every 12 hours:

Link to Action Description
Monitor RSS Microsoft's blog feed is scanned to check for a new Power BI Monthly Update, and if there is an issue is created to check for new visuals or properties.

Once a week:

Link to Action Description
Monitor Docs All hyperlinks on all pages are checked to make sure no links have broken

Contributors 👩‍🔬

This project is only possible thanks to the contributions of the community - below is a small set of the people who have made this possible! We're also very thankful to everyone who's written blog posts with useful samples, created issues, or suggested enhancements to this repository, or helped spread the word about this resource! Want to see your name in this list? Check out the 'How Can I Contribute' section in the Contribution Guidelines to get started!

Contribution list made with contrib.rocks.

About

JSON Templates for assembling Power BI Themes

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published