Introduction
Conditional formatting is a very interesting feature of Power BI. You can specify the column data with different color by background formatting and font color formatting.
There are five types of conditional formatting available in Power BI: Background color, Font Color, Data bars, Icons and Web URL.
Here in this article you will see the conditional formatting by background color. To perform conditional formatting, Use Table or Matrix visualization.
To open the Conditional formatting, Select the column on which the formatting will be applied and right click on it and then click on ‘Conditional Formatting’ and click on ‘Background Color’.

Here I am going to show you background color formatting on Salary column. My task is to show salary in different colors as per salary scale. For example- where salary is less then 15000, cell background should be red, from 15000 to 30000 is yellow and greater than 30000 should be green.
|
Salary
|
Cell Background Color
|
|
<15000
|
Red
|
|
15000-30000
|
Yellow
|
|
>30000
|
Green
|
See the below steps to perform this task.
Step 1
I have imported an Excel sheet with employee data. To import excel data check ‘https://www.c-sharpcorner.com/article/import-excel-data-in-power-bi/’.
I am using table visualization and select Ename, empno, deptno, job ad salary column, you can use matrix visualization also.

Step 2
Now go to salary column and right click on it. Click on ‘Conditional Formatting’ and further click on ‘Background Color’.

A new window will be opened. Here you get an option ‘Format by’. Once you click on drop down menu you will get three options.



Join the conversation! Your thoughts help the community grow.