Skip to main content

Power BI

Completed

Conditional Formatting based on a different measure

Vote (335) Share
's profile image

on 29 Nov 2016 04:54:52

I would like to be able to format a column in a table or matrix based on values of a different measure, or based on values of the same measure in a different row of the table.
Examples :
1. Conditional formatting of sales amount based on the value of sales amount last month(green if higher, red if lower etc.).
2. Conditional formatting of sales amount based on sales goal(higher/lower than goal, and how far from target)

Administrator on 09 May 2018 06:02:16

Glad to report that we've now shipped this feature as part of our May update! https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-may-2018-feature-summary/#conditionalFormatting

Comments (29)
's profile image Profile Picture

b2b9291b 96ee-4d52-8079-fa49c2c6f1a8 on 05 Jul 2020 23:04:25

RE: Conditional Formatting based on a different measure

Please revisit - very frequent scenario - highlight value based on the flag - the value might not be dependent on the value (such as overtime threashhold for different employee categories). Thank you!

's profile image Profile Picture

b548bbf9 9721-4e68-8cdf-259b870f3629 on 05 Jul 2020 23:03:43

RE: Conditional Formatting based on a different measure

Ooooo... So it will take another year.... So we expect to get it by end of next year... Doesnt go well with Power BI monthly updates policy.

's profile image Profile Picture

b548bbf9 9721-4e68-8cdf-259b870f3629 on 05 Jul 2020 23:03:43

RE: Conditional Formatting based on a different measure

We need dynamic charts titles, and conditional background colors of cells/tables/matrix, cells text coloring, text formatting based on different measures like Tableau and Qlik

's profile image Profile Picture

c0410017 f36b-45d0-a648-8762ff3aaa9e on 05 Jul 2020 22:56:21

RE: Conditional Formatting based on a different measure

Looks like color scale for table/matrix has been added in today's release. while it works for measures/numbers, would be good to accept date as well. A scenario is format if the date in table/matrix is past date or beyond a configurable date

's profile image Profile Picture

cfb2aa3d 4232-4c5e-ba75-af097b7f6341 on 05 Jul 2020 22:55:39

RE: Conditional Formatting based on a different measure

i need the same

's profile image Profile Picture

1f7cd6d3 a822-400a-9609-451a052e129a on 05 Jul 2020 22:51:01

RE: Conditional Formatting based on a different measure

this is Just that I need :(

's profile image Profile Picture

28f7842d d1fd-42ec-a5b2-cd6d09557710 on 05 Jul 2020 22:41:47

RE: Conditional Formatting based on a different measure

This would be great for us. Really missing.

's profile image Profile Picture

6cdf2a75 18da-40e7-a583-38547933f116 on 05 Jul 2020 22:39:51

RE: Conditional Formatting based on a different measure

Conditional Formatting with if/then statements would be great! We would need at least 3-5 options on there.

We too use sales numbers, growth percentages, and sales values to see where our locations are on track, falling behind, and exceeding corporate goals. We would love to see something like an if/then statement on the formatting. If team X is below goal then color font (pick color), if meeting goal then color font (pick color), if above goal then color font (pick color).

's profile image Profile Picture

75104ffa e979-4c9f-b136-a00371cd8f32 on 05 Jul 2020 22:39:18

RE: Conditional Formatting based on a different measure

Here is how to do it with static values. would be great if conditional formatting could be set based on thresholds pulled programmatically by either the data model or end-user entry...

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-conditional-table-formatting/