Skip to main content

Power BI

Completed

Conditional formatting (cell highligh, font, etc) when comparing multiple fields

Vote (1702) Share
's profile image

on 24 May 2017 19:48:36

PowerBI needs to have the ability to offer conditional formatting of based on the comparison of 2 or more metrics. For example if metric A = metric B then change the font and highlight color of the cell to red.
If metric A > metric B and metric A < metric C then change the font and highlight color of the cell to green.
This should be unlimited for how many colors can be used. Other BI tools offer this feature.
Note that this is different than what PowerBI currently calls ‘conditional formatting’

Administrator on 09 May 2018 05:39:06

As of our May release, you can now conditionally format a column by another field. Which means you can create a column that does your comparisons and then use that to format anything in your table or matrix. If you have other suggestions for conditional formatting options, make sure to vote on those as well! https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-may-2018-feature-summary/#conditionalFormatting

Comments (88)
's profile image Profile Picture

9276cce2 7b83-471f-9b67-781dadc86f5c on 05 Jul 2020 23:19:28

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

'+1 for this feature !

's profile image Profile Picture

41d8c259 db21-475e-abc2-f94c4dd4666e on 05 Jul 2020 23:19:20

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

It would be very important if conditional formatting can apply too at dimensions columns and not only at meassure columns.
In several case, it is necesary give the same color to a full row, and if conditional formatting apply only at meassure columns we can not achieve it.

's profile image Profile Picture

e828af7d 8e08-4fdc-84be-2ec7b494d35a on 05 Jul 2020 23:19:17

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

It still does not directly format based on the comparison like if A>B then highlight color green or else red. We still have to hard code Numerical values or use the Minimum and Maximum as for color coding.
Can we perform conditional formatting based on another field only in table visualization? Will this be extended to other visualizations like clustered column too?

's profile image Profile Picture

10b63444 92e5-45ad-a33e-897def0c1323 on 05 Jul 2020 23:19:13

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

kudos!

's profile image Profile Picture

19f8e9e7 03ee-48ff-af6b-3bda2bc173d2 on 05 Jul 2020 23:18:44

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

In addition (as it does not appear to be mentioned specifically in the request), the formatting should not be limited to "measures", or more specifically numeric values, i.e. we should be able to apply formatting based on text/date values too.

's profile image Profile Picture

50630cfc b35c-4806-b54b-9a2a5e784624 on 05 Jul 2020 23:18:40

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

Do we have an update already?

's profile image Profile Picture

875c74c0 a037-413a-b6c1-71c42a266096 on 05 Jul 2020 23:18:36

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

is there any update?

's profile image Profile Picture

ed098752 03ec-4734-ade9-aa758b44b756 on 05 Jul 2020 23:18:34

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

is there any update?

's profile image Profile Picture

8882c0e1 2986-4a40-8d81-b86fcdf43719 on 05 Jul 2020 23:18:18

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

Any ETA?

's profile image Profile Picture

ca794b43 8f17-47ab-941d-5777305dfa45 on 05 Jul 2020 23:18:08

RE: Conditional formatting (cell highligh, font, etc) when comparing multiple fields

I agree. Conditional formatting at the cell and row level.