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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
hihihaha90909
New Member

Conditional format background not work

even I change this to 3 or 0.03 it always fill to 0% value, where as with font color I need to choose '0.03' number, PBI so confused, I use the same function in excel and it work fine. 

hihihaha90909_0-1710996161972.png

hihihaha90909_1-1710996241576.png

 

 

hihihaha90909_3-1710996321310.png

 

 

Excel:

hihihaha90909_4-1710996959949.png

 

 

1 ACCEPTED SOLUTION

Hi @hihihaha90909 ,

@Uzi2019 's result is quite correct, and it is the fact that under the gradient rule there is always a gradual transition from the minimum to the maximum value that causes such a visual error

vxiandatmsft_0-1711954230734.png

So the best way to refine the color of each data is to use a rule that

vxiandatmsft_1-1711954315996.png

Best Regards,

Xianda Tang

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

4 REPLIES 4
Uzi2019
Super User
Super User

Hi @hihihaha90909 
Font color you have taken Number take Percentage.
and take Rules instead of Gardient 

Uzi2019_0-1710997818782.png

 

Uzi2019_1-1710997837014.png

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Hi @hihihaha90909 

Try to create measure for color formatting

Uzi2019_2-1710998472040.png

 

Like this.

and field option instaead of Rule/ Gradient option.

Uzi2019_3-1710998518968.png

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

I want to use "gradient' , not distinct color for number, It already apply in Excel, why it cannot in PowerBI? This function not work as it expected to

Hi @hihihaha90909 ,

@Uzi2019 's result is quite correct, and it is the fact that under the gradient rule there is always a gradual transition from the minimum to the maximum value that causes such a visual error

vxiandatmsft_0-1711954230734.png

So the best way to refine the color of each data is to use a rule that

vxiandatmsft_1-1711954315996.png

Best Regards,

Xianda Tang

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

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.