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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.