Power BI - Conditional formatting Tutorial

In this video, you will learn about conditional formatting and how to take it to the next level.
The video covers how to apply conditional formatting to specific cells, tables, pivot tables, and worksheets.
It demonstrates how to use the quick analysis option in the ribbon for quick formatting, as well as how to have more control over the formatting by creating new rules.
You can format cells based on their values, such as using icon sets, and even format cells that are blank or contain errors.
This will help you make sense of your data and easily identify trends or important information.

  • 3:35
  • 3765 views

Objectifs :

This tutorial aims to teach users how to apply conditional formatting to visuals in a report, specifically focusing on changing colors based on data values to enhance data interpretation.


Chapitres :

  1. Introduction to Conditional Formatting
    In this tutorial, we will explore how to apply conditional formatting to visuals in a report. Conditional formatting allows us to visually represent data in a way that highlights important trends and values, making it easier to interpret.
  2. Applying Conditional Formatting to Sales Revenue Visual
    We start by selecting the 'Month to Month Percentage Change in Sales Revenue' visual on the left side. This visual displays a list of months along with colored bars representing sales revenue changes. Our goal is to format these bars to show red for negative values and green for positive values.
  3. Steps to Format Data Colors
    To apply the desired formatting, follow these steps: 1. **Access the Visualizations Pane**: Click on the format button in the visualizations pane. 2. **Navigate to Data Colors**: Go to the 'Data Color' section. 3. **Disable Show All**: Uncheck the 'Show All' option to avoid manually changing colors for each month. 4. **Set Default Color**: Click on the FX button to open a pop-up window for formatting by categories. 5. **Choose Rules**: Select 'Rules' as the formatting option. 6. **Select Measure**: Choose the measure 'Sales Revenue Month to Month Percentage'. 7. **Define Rules**: - For positive values, set the rule: if the value is greater than or equal to 0, choose green. - For negative values, set the rule: if the value is less than 0, choose red. 8. **Apply Colors**: Use the 'More Colors' option to select custom colors if needed. 9. **Finalize**: Click OK to apply the changes.
  4. Applying Conditional Formatting to Tables
    Next, we will apply conditional formatting to a table visual that lists countries and their delivered quantities. Here’s how: 1. **Select the Table Visual**: Click on the visual displaying countries and quantities. 2. **Access the Format Button**: Go back to the format button. 3. **Conditional Formatting Section**: Under the conditional formatting section, apply the rule to the total quantity value instead of individual countries. 4. **Activate Data Bars**: Enable the data bars feature. 5. **Set Colors for Bars**: Adjust the colors for positive and negative bars. You can choose a light green for positive values and leave the negative bar as is or select a different color. 6. **Apply Changes**: Press OK to finalize the formatting.
  5. Conclusion
    In this tutorial, we learned how to apply conditional formatting to different visuals, enhancing the clarity and interpretability of data. By using color coding based on data values, we can quickly identify trends and make informed decisions based on the visualized information.

FAQ :

What is conditional formatting?

Conditional formatting is a feature that allows users to change the appearance of visual elements in a report based on specific conditions or rules, such as changing colors for positive and negative values.

How do I apply conditional formatting to a visual?

To apply conditional formatting, select the visual, go to the format button in the visualizations pane, navigate to the data color section, and set rules based on the values you want to format.

Can I customize colors in conditional formatting?

Yes, you can customize colors in conditional formatting by selecting 'more colors' in the color selection pane to choose your preferred color.

What are data bars in tables?

Data bars are visual indicators within table cells that represent the magnitude of values, allowing for quick visual comparisons of data.

What types of rules can I set for conditional formatting?

You can set various rules, such as specifying that values greater than or equal to a certain number should be displayed in one color, while values less than that number are displayed in another color.


Quelques cas d'usages :

Sales Performance Reporting

In a sales report, conditional formatting can be used to highlight months with negative sales growth in red and positive growth in green, allowing stakeholders to quickly identify trends.

Inventory Management

Using conditional formatting in inventory reports can help visualize stock levels, where low stock items are highlighted in red, prompting timely restocking actions.

Financial Analysis

In financial dashboards, conditional formatting can be applied to highlight profit margins, where margins below a certain threshold are marked in red, indicating areas needing attention.

Performance Dashboards

Conditional formatting can enhance performance dashboards by visually representing key performance indicators (KPIs), making it easier for managers to assess team performance at a glance.

Project Management

In project management tools, conditional formatting can be used to indicate project statuses, where overdue tasks are highlighted in red, helping teams prioritize their work effectively.


Glossaire :

Conditional Formatting

A feature in data visualization tools that allows users to change the appearance of a visual based on certain conditions or rules, such as changing colors based on value thresholds.

Visualizations Pane

A section in data visualization software where users can select and customize different visual elements for their reports, such as charts and graphs.

Data Color Section

A part of the formatting options in visualization tools where users can set colors for data points based on specific criteria.

FX Button

A button in data visualization software that allows users to apply advanced formatting options, such as rules-based color changes.

Rules

Conditions set by the user to determine how data should be formatted, such as specifying that values above a certain threshold should be displayed in a specific color.

Measure

A quantitative value that can be analyzed, such as sales revenue or quantities delivered, often used in data visualizations.

Data Bars

Visual indicators in tables that represent the magnitude of values, often displayed as colored bars within the cells.

00:00:00
we're going to see how to apply
00:00:03
conditional formatting to our visuals
00:00:05
in a report. Starting on the left side,
00:00:08
I'm going to select the Month to month
00:00:10
percentage change in sales revenue, visual.
00:00:12
I can see the list of months and I
00:00:14
can see the colored bars and what
00:00:17
I'd like to do for this visual is
00:00:20
to represent the colored bars
00:00:21
In red for negative values and green
00:00:24
for positive values. To do that,
00:00:27
I'm going to go to the "visualizations" pane
00:00:31
and go to the format button right here.
00:00:34
Once I click on it,
00:00:35
I go to the data color section.
00:00:39
I have the option of course to enable "show
00:00:42
all" and what we'll do is you'll show me
00:00:45
every individual tile for every month,
00:00:48
and I can manually change the
00:00:50
color for each of those months,
00:00:52
but it's not really practical when
00:00:54
you have more than two three fields,
00:00:56
so I'm going to disable this
00:00:59
an instead under default color.
00:01:00
I'm going to click on the FX button.
00:01:05
It's going to bring out this pop-up window
00:01:08
and I can format by different categories.
00:01:12
And for this one I will choose rules.
00:01:16
An I can base it on a particular
00:01:19
field just by clicking here you can
00:01:22
view all your imported databases.
00:01:24
What I want to make sure is to
00:01:26
pick the measure sales revenue
00:01:27
month to month percentage.
00:01:29
There we go and then on the rules
00:01:32
I'm going to say if the value
00:01:34
is greater than or equal to.
00:01:36
0 or is less than 100
00:01:40
and of course I want this in number.
00:01:44
Instead, I'm going to pick the color now.
00:01:48
So we said we want this in green,
00:01:50
so if you don't find the color here,
00:01:52
we just go to "more colors" and from the
00:01:54
pane like that I can select my own color.
00:01:59
Then I'm going to click on new rule
00:02:01
to add a second line where the second
00:02:03
rule is going to be anything that is
00:02:05
greater than or equal to negative 100.
00:02:08
I'm going to change this to number.
00:02:11
Is less than zero and then
00:02:14
pick the color red.
00:02:16
So I'll go to more colors and here we go.
00:02:19
I pick my own color.
00:02:21
And there all I have to do
00:02:23
now is press OK to apply it.
00:02:27
And there you go. So that's one way.
00:02:33
Now we're going to see how to apply
00:02:36
conditional formatting using rules on tables,
00:02:39
so we have a list of countries and
00:02:42
delivered quantities in each country,
00:02:44
so I'm selecting this visual 1st.
00:02:47
I'm going to go back to the format
00:02:50
button and this time under the
00:02:54
section conditional formatting.
00:02:56
I'm going to apply the rule not to countries,
00:02:59
but the total quantity value and
00:03:01
a little further down data bars.
00:03:04
I'm going to activate this feature.
00:03:08
And then right underneath now
00:03:10
you can see advanced controls
00:03:14
for the positive bar, I'm going to
00:03:17
show this color and the negative bar.
00:03:19
I can leave it this light or I can probably
00:03:22
choose this light green that already
00:03:25
prepared and I'm going to press OK.
00:03:28
And there you have it.
00:03:30
Now you have an idea on how to apply
00:03:32
conditional formatting on different visuals.

No elements match your search in this video....
Do another search or back to content !

 

Mandarine AI: WHAT YOU SHOULD KNOW

Reminder

Show