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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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