cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
JordanJackson
Advocate II
Advocate II

Conditional Formatting not working as intended

Hi, 

 

I've out in place rules for the conditional formatting of this card (seen in the attached screenshot) and the formatting does not work how the rules state it should. 

 

This same thing happend for another card I have created also. Any help with what is going wrong here would be greatly appreciated. 

 

Thankyou Screenshot (373).png

4 REPLIES 4
HotChilli
Super User
Super User

You have the data and can test different values.  From observing it 17.95% (or 0.1795)  will fall in the 0 to 0.9 range therefore green.

There's no provision for -ve numbers from what I can see so it'll either do nothing or assign it to the last case.  Why don't you add a case for -ve numbers?

HotChilli
Super User
Super User

Try putting the numbers in decimal where 0 = 0 and 1 = 100 in that screen.  So 0.9 instead of 90 for example.

Doing this has fixed some results, but not all. 

 

I have a result with 17.95% and another with -41.03 that both present as green. According to the rules the 17.95 should appear as red.

 

I'm stumpped as to what the cause is.

Hi @JordanJackson ,

 

Could you please change the type number to type percent?

Because you have the percentage and the decimal number.

 

Hope these help you.

 

Best Regards,

Community Support Team _Yinliw

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors