Use visual style presets in Power BI reports

Applies to: ✅ Power BI Desktop and Power BI service

Style presets let you save the formatting from one visual and reuse it on every visual of the same type in your report. When you edit a report in Power BI Desktop or the Power BI service, format a visual, and then add that formatting to the base visual style or to a new named style preset.

Power BI saves style presets in the report's custom theme. Export the theme to reuse your style presets in other reports.

How style presets work

Each visual type in a theme has a base visual style and can have any number of named style presets.

  • Base visual style: Formatting that all named style presets of that visual type inherit. Changes to the base visual style might change how every other preset for that visual type looks. The base visual style appears as Base in the Style presets dropdown. In the theme JSON file, it's the "*" entry under each visual type.
  • Named style presets: Additional entries under the visual type with a specific name. A named style preset overrides any formatting property that's also set in the base visual style.
  • Built-in style presets: Style presets that come with the report's base theme. You can override a built-in style preset with your own formatting.

Formatting comes from the following sources. When a property is set in more than one place, the first source in this list takes precedence:

  1. Formatting you set on the visual in the Format visual pane.
  2. The named style preset applied to the visual.
  3. The base visual style for the visual type.
  4. The report's base theme.

The Style presets section always appears in the Format visual pane, even when your theme doesn't define any named style presets.

Add a style preset

Add a named style preset when you want an alternative look that report authors can choose for a visual type.

  1. Select a visual, and then open the Format visual pane.
  2. Format the visual the way you want.
  3. Expand Style presets, and then enter a name in the Save current formatting as box.
  4. Select Add style preset.

The new style preset appears in the Style presets dropdown for all visuals of that type in the report.

Screenshot of a Gantt visual with Style presets expanded, a name entered in Save current formatting as, and the Add style preset command.

Update a style preset

Update a style preset to save your formatting changes to the base visual style, a named style preset, or a built-in style preset.

  1. Select a visual, and then open the Format visual pane.

  2. Format the visual the way you want.

  3. Expand Style presets, and then enter the name of an existing style preset in the Save current formatting as box. To update the base visual style, enter *.

    When the name matches an existing style preset, Add style preset changes to Update style preset.

  4. Select Update style preset.

Visuals of the same type that use the updated style preset show the new formatting, unless you formatted those visuals directly in the Format visual pane. When you update the base visual style, the change also applies to named style presets that don't override the same formatting properties.

When you update a built-in style preset, Power BI stores your changes as a local override in the custom theme. If you later delete the override, the built-in style preset still exists. It goes back to its original definition without your changes.

Set the default style preset

The base visual style is usually the default style for a visual type. You can choose a named style preset to be the default instead.

  1. Select a visual, and then open the Format visual pane.
  2. Expand Style presets, and then select the style preset you want to use as the default.
  3. Turn on Set as default.

Every visual of that type that uses the default style updates to the new default style preset.

In the theme JSON file, the default style preset is set by the stylePreset property in the base visual style:

"visualStyles": {
    "columnChart": {
        "*": {
            "stylePreset": [{
                "name": "My preset"
            }]
        },
        "My preset": {
            "legend": [{
                "position": "BottomCenter"
            }]
        }
    }
}

Reset formatting pane changes

Formatting that you set in the Format visual pane always takes precedence over the style preset. To remove those changes so the visual uses its style preset again, select Reset all style settings to default in the Format visual pane.

Screenshot of the Format visual pane menu with Reset all style settings to default highlighted.

Reset all style settings to default is different from Reset all settings to default:

Option What it resets
Reset all style settings to default Formatting changes only. Keeps conditional formatting, actions, and data that you added in the Format visual pane, such as custom labels and reference labels.
Reset all settings to default All changes in the Format visual pane, including conditional formatting, actions, and data-bound items.

Use Reset all style settings to default to remove formatting changes without affecting other parts of the visual.

Rename a style preset

To rename a style preset, edit the theme JSON file.

  1. On the Design ribbon, select Download theme to save the theme as a JSON file.
  2. Open the JSON file in a text editor.
  3. Under the visual type in visualStyles, change the style preset name. If the style preset is the default, also change the name in the stylePreset property of the "*" entry.
  4. Save the file.
  5. On the Design ribbon, select Import theme, and then choose the updated JSON file.

Visuals that used the old name don't switch to the new name automatically. Select the renamed style preset on those visuals.

Delete a style preset

  1. Select a visual that uses the style preset you want to delete.
  2. In the Format visual pane, expand Style presets, and then select Delete style preset.

After you delete the style preset:

  • The selected visual switches to the default style preset.
  • If the style preset was an override of a built-in style preset, the visual keeps the same style preset, which goes back to its original definition. Delete style preset is unavailable because there's no override left to delete.
  • Other visuals that used the deleted style preset still show it as selected until you choose a different style preset. This behavior keeps the reference in place if you add a style preset with the same name later. For more information, see Apply style presets.

Use style presets in other reports

Style presets are part of the report's custom theme, so you can reuse them in other reports.

  1. On the Design ribbon, select Download theme to save the theme as a JSON file.
  2. Open the other report.
  3. On the Design ribbon, select Import theme, and then choose the JSON file.

You can also add the theme to your organizational themes so other report authors can use your style presets.

Considerations and limitations

  • You can't rename a style preset in the Format visual pane. To rename it, edit the theme JSON file. For more information, see Rename a style preset.
  • After you add or update a style preset, the formatting that you set in the Format visual pane stays applied to the visual. To make the visual use only the style preset formatting, select Reset all style settings to default. For more information, see Reset formatting pane changes.