Posts

Showing posts with the label Legends

Deep dive into conditional formatting for lines and legends

Image
Power BI now supports conditional formatting for lines and legends across many visuals. You can apply gradients, rules, or field-driven colors to keep reports consistent, draw attention to important values, and reduce manual maintenance as data changes.   For charts with legends, you can define colors once in a measure or column and reuse them throughout a report. For line charts, you can format entire lines, individual segments, shading, markers, and series labels. This makes it easier to highlight the latest period, show increases and decreases, or emphasize specific data points dynamically. What is conditional formatting? Conditional formatting dynamically controls a visual property such as color, text, or a value. Depending on the setting, you can use: Rules based on numeric ranges, percentiles, or specific values and text. Gradients with minimum and maximum colors and an optional midpoint. Field values from a measure or column that returns a color or value. This option prov...