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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

Conditional Formatting for +ve and -ve value

Hi Team,

 

I am new to PowerBI, I am trying to get conditiional formatting for +ve and -ve value. I tried but not understanding the error.

Attached is the data through which Bar chart I have prepared and the conditional formatting logic I have used.

 

I need support to get the proper result.

 

 Cat1Cat2
A-0.90.8
B0.4-0.3
C-0.20.6
D-0.30.7

Siddharth_2987_0-1691782608966.pngSiddharth_2987_1-1691782631429.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Siddharth_2987 

You need to modify the condition for every category separately and use "numbers" instead of percentages.
Please follow these steps :
1. For category 1 modify the rule based on a greater than some huge negative number and less than 0 

Ritaf1983_0-1691818239174.png

2. Do the same with the second category

Ritaf1983_1-1691818335067.png

Result:

Ritaf1983_2-1691818368441.png

 

Link to the sample file 

Please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Siddharth_2987 

You need to modify the condition for every category separately and use "numbers" instead of percentages.
Please follow these steps :
1. For category 1 modify the rule based on a greater than some huge negative number and less than 0 

Ritaf1983_0-1691818239174.png

2. Do the same with the second category

Ritaf1983_1-1691818335067.png

Result:

Ritaf1983_2-1691818368441.png

 

Link to the sample file 

Please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors