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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors