Power BI Themes
Manage report-wide themes and per-visual conditional formatting without needing Power BI Desktop. Apply JSON theme files to set colors, fonts, and visual defaults across your entire report, preview changes before committing, and apply data-driven formatting rules to individual visuals using gradient, rule-based, or measure-driven approaches.
Power BI Themes lets you apply, inspect, and compare report themes and conditional formatting rules via pbi-cli.
AI-generated summary based on this skill's SKILL.md
Install
MinaSaad1/pbi-cli/power-bi-themes · repository language: Python
git clone https://github.com/MinaSaad1/pbi-cli
cp -r pbi-cli/src/pbi_cli/skills/power-bi-themes ~/.claude/skills/power-bi-themesFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I apply a theme in Power BI?
Power BI Themes lets you apply JSON theme files to set colors, fonts, and visual defaults across your entire report. Upload or reference a theme file, preview the changes on your report, and apply it when satisfied. Themes control report-wide styling without requiring Power BI Desktop, making it easy to enforce consistent branding across multiple reports.
What is Power BI Themes and what can it do?
Power BI Themes manages report-wide themes and per-visual conditional formatting. It lets you apply JSON theme files to control colors, fonts, and visual defaults; set up data-driven formatting rules using gradients or rule-based approaches; preview theme changes before committing; and inspect your current theme configuration. It supports corporate branding and dark mode styling without needing Power BI Desktop.
Can I preview Power BI theme changes before applying them?
Yes. Power BI Themes includes a preview feature that lets you compare theme changes before applying them to your report. This helps you verify that your color palettes, fonts, and visual styling match your expectations before committing the changes to your live report.
How does Power BI Themes handle conditional formatting?
Power BI Themes supports setting up conditional formatting rules for data-driven visual styling. You can apply gradient colors, rule-based formatting, or measure-driven approaches to individual visuals. This includes data bars, color scales, and custom formatting rules that respond to your data values.
Can Power BI Themes implement corporate branding?
Yes. Power BI Themes supports corporate branding and dark mode styling. You can define custom color palettes, set background colors, apply branded fonts, and configure dark mode to match your organization's visual identity across all your Power BI reports.
How do I inspect my current Power BI theme configuration?
Power BI Themes lets you inspect your current theme configuration and visual formatting rules. You can view the active theme settings, review conditional formatting rules applied to visuals, and understand your report's current look and feel before making adjustments.
SKILL.md
rendered from the published skill — quoted content, verbatim
Power BI Themes Skill
Manage report-wide themes and per-visual conditional formatting. No Power BI Desktop connection is needed.
Applying a Theme
Power BI themes are JSON files that define colours, fonts, and visual defaults for the entire report. Apply one with:
pbi report set-theme --file corporate-theme.json
This copies the theme file into the report's StaticResources/RegisteredResources/
folder and updates report.json to reference it. The theme takes effect when
the report is opened in Power BI Desktop.
Inspecting the Current Theme
pbi report get-theme
Returns:
- base_theme -- the built-in theme
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
src/pbi_cli/skills/power-bi-themes/SKILL.md