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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
dbtornell
Frequent Visitor

Conditional Formatting help

Hello,

I want to color code my data given certain criteria.  In my case I want to code based off of the following criteria.  If percent is equal to or less than 50% color red, if percent is greater than 50% or less than 100% color yellow, and if percent is equal to or greater than 100% color green.  The catch is each point on the x-axis, in this case the points represent different locations, have their own values for what is 50%, 50<100, and 100%.  For example, 89% percent complete might only represent 50% percent efficeny which would result in a color code of red.  I'm not sure if I have explained myself clearly, but I have attached the way my data looks in Power BI below in case that provides more clarity.  I have also attached a excel table below.  I want to color code a graph in power bi the way that table is color coded on a location by location basis.

 

Thanks,
David

  Conditional Formatting.pngLine fill.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@dbtornell,

There is no method to set the same formatting as that in Excel. However, you can check the workaournd in the attached PBIX file.

Regards,
Lydia

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@dbtornell,

There is no method to set the same formatting as that in Excel. However, you can check the workaournd in the attached PBIX file.

Regards,
Lydia

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.