Conditional Formatting in Power BI (original) (raw)

Last Updated : 16 Jan, 2026

Conditional formatting visually enhances and customize our data's appearance based on certain conditions or rules. It helps us highlight important data by applying colors, style and symbols based on rules or conditions. It makes our reports more readable, insightful and visually attractive.

Types of conditional formatting

Here are the five main types of conditional formatting:

**1. Font color

**2. Background color

**3. Data bars

**4. Icons

**5. Web URL

How to Apply Conditional Formatting in Power BI

To apply conditional formatting in power bi you can use the following below steps:

**Step 1: Open your PowerBI desktop. Click on the Get Data button. By following these steps you can start importing data into your Power BI project.Screenshot-2023-07-17-200449

**Step 2: A drop-down appears. To add data click on the Excel Workbook and select file and click on load. It will import the data from your Excel file into Power BI.

2

**Step 3: After clicking on the "Load" button in Step 2, you will see this Power BI data view. Here, you will see a list of tables or sheets from the Excel file you recently uploaded.

3

**Step 4: Now that you have selected the data from Step 3, it's time to create a table visualization to display the data in a tabular format. So select table from visualization section then Power BI will automatically generate a basic table with your selected data, displaying the columns and rows from the dataset.

4

**Step 5: After adding table you will see a list of available fields on right side of Power BI window. Here you can choose which data from your uploaded file you want to include in the table.

5

**Step 6: You can now apply conditional formatting to make the data stand out and easier to understand. Here's how you can do it:

final

Examples:

**1) Background Color:

In this step we will apply a background color to the "Sum of Physics" column in our table visualization. This allows us to highlight specific data based on certain conditions. Now you have several choices to apply the background color based on different conditions.

Here's how you can do it:

After selecting the appropriate option you can customize the colors and rules according to your preference.

7

**Output:

bgreplace

2) Data Bars

Let's apply data bars to the "Sum of Maths" section in our table visualization. Data bars will visually represent the values in this column as horizontal bars and allow us to quickly compare the magnitude of each value.

Here Power BI will automatically add data bars to the cells in the "Sum of Maths" column also you can customize the appearance of the data bars by adjusting the formatting options such as changing the color or size of the bars.

11

**Output:

12

3) Icons

We will use arrows or shapes to indicate data trends or categories like Up arrow for positive change and down arrow for negative.

13

**Output:

14

By using conditional formatting you can make your reports more meaningful and easier to interpret without any extra charts or visuals.