power bi theme json examples

Power BI Theme JSON Examples

By Matthew Thomas
AD

Are you looking to customize the look and feel of your Power BI reports? Themes, defined in JSON format, allow you to achieve just that. They let you modify colors, fonts, and other design elements across your reports. Let's dive into the world of Power BI themes, using JSON examples to guide you.

Before we jump into specific themes, let's understand why you should use them. Themes save time by ensuring consistency across your reports. They also make your reports more visually appealing and easier to navigate.

Creating Your First Theme

To create a theme, you'll first need to understand the JSON structure. It's quite straightforward and follows this format:

AD
Power BI Themes
Power BI Themes
20 best Power BI Dashboard Examples in 2025 | Hevo
20 best Power BI Dashboard Examples in 2025 | Hevo
Light and Dark Theme Power BI Reports
Light and Dark Theme Power BI Reports

{ "name": "YourThemeName", "dataColors": [...], "foreground": "#000000", "background": "#FFFFFF", "tableRowEven": "#FFFFFF", ... }

Defining Colors

Probably the most common aspect you'll change are the colors. Each color property accepts a six-digit hex value. For example, sky blue would be "#87CEEB". Here's how you can change the default colors:

Power BI
Power BI
Power BI Dashboard Design Best Practices 📊 | Build Professional Dashboards
Power BI Dashboard Design Best Practices 📊 | Build Professional Dashboards
Power BI Power Query Basics 📊 | Clean & Transform Data Like a Pro
Power BI Power Query Basics 📊 | Clean & Transform Data Like a Pro

```json "dataColors": [ "#2DAE62", "#E75D3D", "#642A7D", "#83A445", "#B55AAA", "#C0504D" ], "foreground": "#000000", "background": "#FFFFFF" ```

Customizing Fonts

Next, let's look at fonts. The "font" property accepts a CSS font-family value. Here's how you can change the default font to Arial:

AD

```json "font": { "solid": "Arial", "monospace": "Courier 10 Pitch", "symbol": "Wingdings Regular" } ```

Top Power BI Dashboards: 15 Must-See Examples
Top Power BI Dashboards: 15 Must-See Examples
10 Power BI Projects for Beginners
10 Power BI Projects for Beginners
🎯 120 Power BI Templates to Simplify Your Data Journey!
🎯 120 Power BI Templates to Simplify Your Data Journey!
The Power BI external tools worth knowing
The Power BI external tools worth knowing
Power BI
Power BI
Build a Power BI Portfolio That Gets You Your First Client
Build a Power BI Portfolio That Gets You Your First Client

Applying Themes

Now that you've created your theme, it's time to apply it. You can do this in Power BI Desktop using the 'Themes' pane in the 'Home' tab.

Remember, themes are applied to the report level, not the page level. So, if you want different themes for different pages, you'll need to create a new report for each.

AD

Creating a Theme from Scratch

If you're feeling adventurous, you can create a theme from scratch using only JSON. This involves manually setting all the properties, but it gives you maximum control.

Power BI Roadmap for beginners (2026)🚀| Complete Step-by-Step Guide to Learn Power BI
Power BI Roadmap for beginners (2026)🚀| Complete Step-by-Step Guide to Learn Power BI

For example, here's a basic theme that changes the background to light blue and the foreground to dark blue:

```json { "name": "Dark Blue Theme", "background": "#ADD8E6", "foreground": "#00008B" } ```

AD

Adjusting Existing Themes

Alternatively, you can adjust an existing theme. This can be a quicker approach when you only need to make small changes. Here's how you can change the 'Dark' theme's background to black:

```json { "name": "Dark (modified)", "background": "#000000" } ```

Remember, the changes you make will only apply to new reports. If you want to apply them to existing reports, you'll need to modify the original theme file in the Power BI report server.

Experiment with different colors, fonts, and other design elements to create themes that truly reflect your style. With a bit of practice, you'll be creating stunning, consistent Power BI reports in no time. So, grab your favorite hex color codes and start theming!

AD