PorcuBI

Conditional Formatting in Microsoft Fabric Real-Time Dashboards

Real-time dashboards in Microsoft Fabric are perfect for monitoring data and enabling quick reactions when something needs attention. But how do you ensure users instantly spot what’s critical when they open the dashboard?

In Microsoft Real-time dashboards, you can use conditional formatting to highlight data points in tables and card visuals. By implementing conditional formatting, you can make sure that the most important information stands out so users can focus on what really matters and take action right away.

Real-time dashboard with conditional formatting in Fabric
Conditional formatting in a Fabric Real-time dashboard

Where can I implement conditional formatting in a Real-time dashboard?

Conditional formatting in Microsoft Fabric dashboards can be used on:

  • Tables: Format entire rows or specific columns. You can choose to color the background, the text, the entire row, or just the column. 
  • Stats (Card visuals): Adjust the background or text color.
  • Multi-stats (Card visuals with multiple cards): Like stats, you can format the background or text color.

How to add conditional formatting?

To add conditional formatting, you need “edit” rights.

  1. Open the dashboard and click “Edit” in the top right.
  2. Select the visual where you want to apply conditional formatting, such as a table or a (multi)stat visual.
  3. On the right side, you will see the conditional formatting option; toggle the button to “Show.”
  4. Add a rule and click the pencil icon (opening a pop-up).
Conditional formatting editing in Fabric
Add conditional formatting

Table conditional formatting options​ in Fabric

In a real-time dashboard table visual, you have two options for conditional formatting. You can color by value or color by condition.

Color by condition: you can enter a condition; for example, color the column when a value is < 400. You have several options:

  • Color style: Bold or Light. Bold means you color the entire background, and Light means you color the text.

  • Apply options: Apply to cells or rows.

  • Color: you can choose four colors: red, blue, green, and yellow.

  • Icon: You can add icons to the columns (like an alarm sign of a smiley), but this only works when you apply conditional formatting to the column, not the row.

  • Hide text: Instead of showing the formatted background and the number, you can choose to show only the color and hide the text.
Bold conditional formatting applied to column
Bold formatting
Light conditional formatting applied to rows
Light formatting
Bold conditional formatting applied to rows
Bold & Row formatting

Color by value: We see different options when we choose color by value.

  • Theme: You can choose a theme to apply to a column.

  • You can add a max and min value, which is very handy when you want the conditional formatting to apply only to specific values (for example, everything below 1000).

  • Apply options: Apply to the cells or the entire row.
A screenshot of the color by values conditional formatting
Color by value options

(Multi)stat conditional formatting options in Fabric

In a (multi)-stat visual, you only have one option.

Color by condition: you can enter a condition; for example, color the card when a value is < 400. 

  • Color style: Bold or Light. Bold means you color the entire background, and Light means you color the text.

  • Color: you can choose four colors: red, blue, green, and yellow.

  • Icon: You can add icons.
A screenshot of a real-time dashboard card / multi stat without conditional formatting and one with conditional formatting
Color by condition options. One light color style and one bold color style.

Conclusion

Conditional formatting is a powerful way to make real-time dashboards in Fabric more effective. Highlighting crucial information ensures users can quickly identify  critical issues.

Here’s a before-and-after example: The dashboard might have a lot of data but lacks clarity on what needs attention. After applying conditional formatting, key metrics will stand out, clarifying where action is required. 
If you want to learn more about the topic, also make sure to read the official documentation.

A screenshot of a real-time dashboard without conditional formatting and one with conditional formatting
Before & after conditional formatting.

Video - Conditional Formatting in Real-Time Dashboards

If you prefer watching over reading, I recorded a video showing how to implement conditional formatting in a Fabric real-time dashboard, in a table, and in a multi-card visual. You can find the video on my YouTube channel.

Scroll to Top