Forum Discussion
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 A | Column B | |
| 22 | 22 | |
| 22 | 43 | |
| 19 | 19 |
Thankyou.
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. :smileyhappy:
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.
Regards
1 Reply
- v-ljerr-msftMicrosoft 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. :smileyhappy:
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.
Regards