modifying-theme-json

Design, audit, and validate Power BI report themes through the pbir CLI.

887|131|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/data-goblin/power-bi-agentic-development --skill modifying-theme-json
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: modifying-theme-json
Source: https://github.com/data-goblin/power-bi-agentic-development/tree/main/plugins/reports/skills/modifying-theme-json
Command: npx skills add https://github.com/data-goblin/power-bi-agentic-development --skill modifying-theme-json

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Power BI reports often suffer from inconsistent formatting, hard-coded colors, and scattered visual-level overrides that make rebranding and maintenance painful. This Skill centralizes formatting decisions into a report theme and enforces theme compliance using the pbir CLI, eliminating risky manual edits to theme.json or visual.json files.

Core Features & Use Cases

  • Theme auditing and diagnostics: Inspect colors, fonts, and the formatting cascade with commands like pbir theme colors, pbir visuals format, and pbir bpa run to find hard-coded values and excessive overrides.
  • Theme authoring and enforcement: Set data palettes, semantic colors, and typography via pbir theme set-colors and pbir theme set-fonts, promote well-designed visuals into theme defaults with pbir theme push-visual, and clear stale overrides with pbir visuals clear-formatting.
  • Validation and rendering: Validate themes with pbir theme validate and capture screenshots via Power BI Desktop to confirm visual results.
  • Use Case: A report uses a default theme with dozens of local formatting overrides. Audit the report, apply a branded palette and Segoe UI type scale at the theme level, clear redundant visual overrides while preserving conditional formatting, then validate and screenshot the result.

Quick Start

Use the modifying-theme-json skill to audit this report's theme, apply a consistent color palette and typography, and clear unnecessary visual-level formatting overrides.

Frequently Asked Questions about modifying-theme-json

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I change a Power BI report theme with the pbir CLI?

Use pbir theme set-colors to define the data palette and semantic colors, and pbir theme set-fonts to set typography by semantic level. You can also apply a known template with pbir theme apply-template, then validate with pbir theme validate.

How do I find inconsistent formatting in a Power BI report?

Run pbir theme colors, pbir theme fonts, pbir color list, and pbir bpa run to audit the report. Use pbir visuals format on a specific visual to see the effective value and which layer of the formatting cascade produced it.

Can I edit theme.json or visual.json files directly?

No. This Skill requires all report and theme mutations to go through the pbir CLI. Direct edits to theme.json, visual.json, or serialized theme fragments are prohibited, as are jq or shell-based JSON replacements.

How do I clear visual formatting overrides in Power BI?

Use pbir visuals clear-formatting with the --keep-cf flag to preserve conditional formatting, running a --dry-run first. Clearing overrides is destructive, so confirm with the user before applying it broadly.

Why does my Power BI theme change not appear after refresh?

Power BI Desktop refresh does not reload theme resources. Close and reopen the report before judging theme changes, then capture screenshots with pbir desktop screenshot to verify the rendered result.

How do I copy a theme from one Power BI report to another?

Use pbir cp to copy the theme from the source report to the target, then run pbir theme validate. Afterward, clear stale visual overrides and check foreground/background polarity so text remains visible.