Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
rkumar
Helper III
Helper III

Highlighting columns in a table (Conditional formatting)

Hi All,

Need help with - 

If data values of two columns of a table do not match then highlight those columns or colour those columns,

Eg 

 

Column AColumn B
22 22
22 43
19 19

 

Thankyou.

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @rkumar,

 

Currently, Power BI doesn’t support conditional format between multiple columns and only support format number. Please refer to https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting. Here is a similar idea shared on Power BI Ideas forum. You can vote it up and add your comments there to improve Power BI on this feature. Smiley Happy

 

As a workaround you can firstly create a calculate column using the formula below:

IS_Column1_Match_Column2 = IF([Column1] = [Column2], 1, 0)

Then you can use conditional formatting to set the color of the calculate column.

cf1.jpgr2.png

Regards

View solution in original post

1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @rkumar,

 

Currently, Power BI doesn’t support conditional format between multiple columns and only support format number. Please refer to https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting. Here is a similar idea shared on Power BI Ideas forum. You can vote it up and add your comments there to improve Power BI on this feature. Smiley Happy

 

As a workaround you can firstly create a calculate column using the formula below:

IS_Column1_Match_Column2 = IF([Column1] = [Column2], 1, 0)

Then you can use conditional formatting to set the color of the calculate column.

cf1.jpgr2.png

Regards

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors