pbir-conditional-formatting

Implement conditional formatting in Power BI visuals using measures and FillRule gradients.

2|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/wardawgmalvicious/claude-config --skill pbir-conditional-formatting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pbir-conditional-formatting
Source: https://github.com/wardawgmalvicious/claude-config/tree/main/skills/pbir-conditional-formatting
Command: npx skills add https://github.com/wardawgmalvicious/claude-config --skill pbir-conditional-formatting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of adding conditional formatting to Power BI visuals, allowing users to make their data more insightful and visually engaging with color gradients, icons, and more.

Core Features & Use Cases

  • Conditional Formatting: Apply formatting rules to data points, like color gradients, based on data values or conditions.
  • Measure-based Formatting: Use extension measures to return theme tokens for color expressions.
  • Rule-based Formatting: Implement rules for conditional formatting via the Power BI UI or programmatically.
  • Use Case: For a financial dashboard, apply a red gradient to negative numbers and a green gradient to positive numbers to quickly identify trends.

Quick Start

To apply conditional formatting to a measure, use the pbir-conditional-formatting skill followed by the measure name.

Frequently Asked Questions about pbir-conditional-formatting

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

FAQPage Schema
How do I apply conditional formatting to Power BI visuals programmatically?

You can apply conditional formatting to Power BI visuals by modifying the visual JSON structure with measure-based logic, FillRule gradients, or rule-based Conditional.Cases. This enables dynamic color gradients and icons based on data values.

What is measure-based formatting in Power BI report development?

Measure-based formatting in Power BI uses extension measures to return theme tokens for color expressions. This approach allows you to dynamically apply conditional formatting rules directly within your Power BI visual JSON structure.

Can I use FillRule gradients to color code financial dashboard data in Power BI?

Yes, you can use FillRule gradients to color code financial dashboard data in Power BI. This conditional formatting approach applies a red gradient to negative numbers and a green gradient to positive numbers to quickly identify trends.

Do I need to understand Power BI visual JSON structure to implement rule-based Conditional.Cases?

Yes, implementing rule-based Conditional.Cases requires familiarity with the Power BI visual JSON structure and conditional formatting rules. This intermediate-level approach applies formatting logic directly to report visuals.

What's the best way to add color gradients to data points in Power BI visuals?

The best way to add color gradients to data points in Power BI visuals is through conditional formatting rules. You can implement these rules via the Power BI UI or programmatically using measure-based logic and FillRule gradients.