Skip to main content

Power BI

Needs Votes

Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

Vote (185) Share
Noam Arnold's profile image

Noam Arnold on 16 Sep 2016 20:23:47

The conditional formatting implemted is good but i miss the option to format the font red for negative numbers and blue for positiv numbers.
Please add conditional formatting for the font color, bars in the cells and all the other advanced options excel is offering.

Administrator on 20 Aug 2020 01:24:22

Conditional formatting allows you to do this: https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting. You can set rules for positive, negative, color scales etc. even custom logic by using a measure that returns a hex code for your color.

Comments (14)
Noam Arnold's profile image Profile Picture

bedcc31d d526-433e-9b77-39e59f9fd1ad on 05 Jul 2020 23:52:20

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

Now we just need the Sub Totals and Totals be have conditional formatting as well!

Noam Arnold's profile image Profile Picture

65386cf3 4bd8-48fa-8a23-ba7a4f535dca on 05 Jul 2020 23:29:45

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

I just googled all over to figure out how to format negative numbers in a table. FRUSTRATING that I needed to create another column (per field) I wanted to format this way. Had to create an INDEX for each then format the color based on the index. SAMPLE:

W2 Index = IF('Product Sales'[W2 Projected Inventory] < 0,-1,1)

Noam Arnold's profile image Profile Picture

b71c25bd ff1a-4048-b104-5039aa59c6ae on 05 Jul 2020 23:21:20

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

I'm guessing this comment is pointless, but having more options around conditional formatting would be nice. Options similar to Excel would be nice. I need to do conditional formatting on text.

Noam Arnold's profile image Profile Picture

024db992 4e87-40bf-8565-928a17a0e7d3 on 05 Jul 2020 23:13:45

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

Hi,
It would be really good to be able to have conditional formatting for text too. The feature is already in Excel and a lot of other dashboard tools

Noam Arnold's profile image Profile Picture

7963691a 9b43-4c42-9818-b10eb1001b2c on 05 Jul 2020 23:02:16

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

Hi
I wish to hide the date to leave only the color of the conditional formatting (red orange green for example)
REgards

Noam Arnold's profile image Profile Picture

bf51d17e 9d39-4395-8d43-04acc5ba79dc on 05 Jul 2020 23:00:51

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

My vote for dynamic conditional formatting

Noam Arnold's profile image Profile Picture

cf47906f 0f7c-488e-bf94-06f9e229512d on 05 Jul 2020 22:50:03

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

I have a table with multiple metrics in it and need to be able to configure the "good" and the "bad values (which are not uniform) for each column/metric separately. A simple example would be returns. I would like to be able to configure the text for the % of returned sales to 0 is gray, 0.1 to 1% is yellow, 1.1 to 2% is red. This should be configurable by metric with user defined values. The existing "low is good" or "high is good" thing does not work across a wide range of use cases.

Noam Arnold's profile image Profile Picture

b63c18fb 128e-4d0e-8a85-2d6c619ea7a5 on 05 Jul 2020 22:49:04

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

Helpful for looking a data (in a Matrix/Table) that is similar in size and scale

In Excel, I go to ...

Home Tab (with a Pivot Table cell selected)

(Click on) Conditional Formatting >> (select) Data Bars >> (specify) Gradient Fill

Noam Arnold's profile image Profile Picture

f5182bfe 80f7-479a-8cf2-9ad7c74f41e3 on 05 Jul 2020 22:47:42

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

This pivot table junkie craves data bars in his matrix visualizations!

Noam Arnold's profile image Profile Picture

64a11953 76b6-4b56-b4b5-cedffcb709db on 05 Jul 2020 22:41:30

RE: Conditional formatting for the font color, bars in the cell of the tables and all the other advanced options excel is offering

Color is so important in visualization. Being able to color by value is critical for red-yellow-green visuals and visuals with negative-positive values. It's great that you added color saturation, but that does not help with the color value itself, especially in the case of negative numbers.

Also, please make sure that the color formatting allows for specific colors as well as diverging colors. An added bonus would be to allow for stepped gradients and not only continuous gradients.

Thanks.