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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Tedua
New Member

Conditional formatting in a table, color scale with only 1 value

Hello everybody,

 

I'm trying to apply a color scale conditionnal formatting to each of my column in this table:

 

table.PNG

Starting from green with the lowest value and red to the highest. The first 4 column are working as intended, however, if there is only 1 value in a column, it immediatly start with the highest value(red). Any way this start with the lowest value (Green)

 

Here are the setting for the formating:

CondFormat.PNG

Thank you

1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

Hi @Tedua ,

 

The default value of unique value is the maximum value. When the data of the column is updated, for example, the value of this column is not unique after the next update, the color will be adjusted automatically.

If you have only unique values in this column, you can add colors in other ways.

v-lionel-msft_0-1599726567723.png

v-lionel-msft_0-1599726676541.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
maree_bekkers
New Member

I am also having the same issue as Tedua with my data that is all zero's it is defaulting to the highest value (red) when they all should be formatted green as the lowest value. 

I have tried changing the Deault formatting and changing the Minimum from lowest to custom and still it is showing as red

 

Is there anyway around this? 

 

maree_bekkers_0-1655422725859.png

 

v-lionel-msft
Community Support
Community Support

Hi @Tedua ,

 

The default value of unique value is the maximum value. When the data of the column is updated, for example, the value of this column is not unique after the next update, the color will be adjusted automatically.

If you have only unique values in this column, you can add colors in other ways.

v-lionel-msft_0-1599726567723.png

v-lionel-msft_0-1599726676541.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Is there any way we can set the default color when there is only 1 value?

amitchandak
Super User
Super User

@Tedua , I think that is the default behavior, when there is one value if would be considered highest

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you, do you know of any way to circumvent this?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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