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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
mahitham
Helper I
Helper I

Table Help

Hi,

 

Can any one please help me to show above 30.0% values in Green color and below 30.0% values in red in Profit Margin column in the straight table.

 

I have highlited the expression used in  Profit Margin column in the below image.

 

Please help me on this.

 

 

Color expression.png

 

Thanks in advance.

2 ACCEPTED SOLUTIONS

Hi 

I have tried the conditional formatting for Profit margin like below

I need to show above 30.0% values in Green and below 30.0%values in red  but all are showing red by using below rule.

Please let me know am i missed any thing.

 

I am new to power BI.

 

Thanks in advance

Conditional Formatting.png

 

all red.png

 

 

View solution in original post

v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @mahitham,

Based on my research, you could use the 'conditional formatting color-by-rules' function to solve your problem, you could refer to below link:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-rules

 

Regards,

Daniel He

Community Support Team _ Daniel He
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

3 REPLIES 3
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @mahitham,

Based on my research, you could use the 'conditional formatting color-by-rules' function to solve your problem, you could refer to below link:

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-rules

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PattemManohar
Community Champion
Community Champion

@mahitham Please try "Conditional Formatting" 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Hi 

I have tried the conditional formatting for Profit margin like below

I need to show above 30.0% values in Green and below 30.0%values in red  but all are showing red by using below rule.

Please let me know am i missed any thing.

 

I am new to power BI.

 

Thanks in advance

Conditional Formatting.png

 

all red.png

 

 

Helpful resources

Announcements
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.