7.2 Visual Formatting and Conditional Formatting
Key Takeaways
- The Format pane separates Visual (chart-specific) settings from General (shared) settings, each grouped into expandable cards.
- Conditional formatting applies rules, color scales, data bars, icons, or web URLs to tables, matrices, and chart colors.
- Color can be driven by a color scale (gradient), explicit rules, or a measure via the field value (fx) option.
- Themes enforce report-wide consistency for colors, fonts, and default visual properties.
- Custom JSON theme files make brand-consistent reports shareable across an organization.
Quick Answer: Use the Format pane to configure visual properties (colors, labels, axes). Conditional formatting adds dynamic styling, color cells by value, add data bars, or icon sets. Themes ensure consistency across the report, and custom JSON themes enable brand-compliant reports across an organization.
The Format Pane
Select a visual to open the Format pane with two tabs.
Visual tab (chart-specific): X/Y axis labels and scale, legend, data labels, column/bar colors, title, tooltips, and data colors (including conditional formatting).
General tab (shared): title, effects (background, border, shadow), header icons, default vs. report-page tooltip, alt text for accessibility, and padding.
Conditional Formatting
Conditional formatting adds data-driven visual cues. It applies to table/matrix cells (background color, font color, data bars, icons, web URL), chart data colors, card values, and dynamic titles.
| Type | What it does |
|---|---|
| Background / Font color | Color cells or text by value (scale, rules, or field value) |
| Color scale (gradient) | Smooth Min-to-Max coloring for continuous ranges |
| Diverging scale | Low-Center-High (red-yellow-green) |
| Rules | Explicit thresholds (>= 80 green, 50-79 yellow, < 50 red) |
| Data bars | In-cell horizontal bars sized by value |
| Icons (icon sets) | Arrows, traffic lights, flags by rule |
| Web URL | Render a URL column as a clickable link |
Color Scale vs. Rules vs. Field Value
Color scale suits continuous data where you want a smooth gradient. Rules suit discrete thresholds, ideal for above/below-target coloring. Field value (fx) lets a measure return the color, giving full control:
Traffic Light Color =
SWITCH(TRUE(),
[Performance] >= 0.8, "#00B050",
[Performance] >= 0.5, "#FFC000",
"#FF0000")
Reference this measure in the conditional-formatting dialog's "Format by: Field value" option. Field-value formatting is the most flexible because the logic lives in DAX and can combine multiple conditions.
Themes
Apply a built-in theme from View > Themes. For brand consistency, create a custom JSON theme:
{
"name": "Corporate Theme",
"dataColors": ["#003366", "#006699", "#3399CC", "#66CCFF"],
"background": "#FFFFFF",
"foreground": "#333333",
"textClasses": {
"title": { "fontFace": "Segoe UI Semibold", "fontSize": 14, "color": "#003366" }
}
}
Apply it via View > Themes > Browse for themes. A custom theme defines colors, fonts, and default visual properties once, so every author starts brand-compliant. You can also export the current theme (View > Themes > Save current theme) to share it. JSON themes support far more than data colors, including per-visual style defaults, page backgrounds, and structural styling for the entire report.
Accessibility and Formatting Best Practices
- Use consistent colors across related visuals (a theme handles this automatically).
- Limit conditional formatting, too many colors create noise and dilute meaning.
- Do not rely on red/green alone, color-blind users may not distinguish them; pair color with icons, labels, or patterns.
- Add alt text to every visual so screen readers can describe it.
- Give axes meaningful titles instead of raw column names, and turn off unnecessary gridlines and borders for a cleaner look.
- Maintain sufficient contrast between text and background, and avoid conveying information by color only.
These accessibility practices are explicitly part of the PL-300 "create reports" objective and reflect Microsoft's accessibility guidance for Power BI.
On the Exam
The PL-300 tests applying conditional formatting to tables and matrices, color scale vs. rules-based formatting, applying and customizing themes, field-value formatting driven by a measure, and accessibility formatting requirements.
Formatting Is Part of Data Trust
Clean, consistent formatting is not decoration, it is how a report earns trust and communicates quickly. Currency that shows as $1,234 rather than 1234.5, percentages that read 45.6%, axis titles that name the metric, and a coherent color scheme all reduce the cognitive load on the reader and reduce misinterpretation.
The PL-300 treats this as a real skill: questions ask you to choose the formatting mechanism that produces a specific, correct, and accessible result, not to make a chart "prettier." Knowing where each control lives, model-level format strings, the Format pane, conditional formatting, and themes, lets you answer those questions confidently.
Choosing the Right Conditional-Formatting Mechanism
There is a best tool for each intent. Use a color scale when the value is continuous and you want a gradient (heat-map style). Use rules when you have discrete thresholds, especially binary above/below-target coloring. Use data bars to show relative magnitude in-cell while keeping the numbers visible. Use icon sets for categorical status (traffic lights, up/down arrows). And use field value (fx) when the coloring logic is complex enough to deserve a DAX measure that returns a hex color, the most flexible option because the rules live in code and can combine conditions.
Matching mechanism to intent is exactly what the conditional-formatting questions test.
Themes Scale Consistency; Accessibility Is Mandatory
A JSON theme turns one-off formatting into an organizational standard: define data colors, fonts, page backgrounds, and even per-visual style defaults once, then distribute the file so every author starts on-brand. Layered on top, accessibility requirements are non-negotiable on the exam, never encode meaning in color alone, add alt text to every visual, maintain strong text/background contrast, and reinforce red/green status with icons or labels for color-blind users. A report can be beautifully themed and still fail accessibility, so the exam expects you to apply both consistency and inclusive-design practices together.
You want to color table cells green when revenue is above target and red when below. Which conditional formatting approach is most appropriate?
How do you ensure all reports in your organization use the same corporate colors and fonts?
Which conditional formatting type adds horizontal bars inside table cells to represent the relative magnitude of values?
Why should you avoid using red and green as the only way to indicate good vs. bad values?