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
Anonymous
Not applicable

Gantt Custom Visual - Bar Color Coding

Hello All

 

I am working on analysis of all the Projects done in our business.

 

I came across the Gantt Chart - Custom Visual and it fits perfectly in the case I wanted to.

 

But I am facing a small difficulty to color the bars in Gantt custom visuals.

gantt.PNG

 

 

As you can see that on the top there are 3 status:

1. Completed

2. In Progress

3. Planned

 

All three have different color coding. What I want is that if the Status="Completed"the I want to color them by "Green"color else all other status will be "a Different color(can be any random color".

 

Please help me in this formatting.

 

Regards

Shubham Sharma

3 REPLIES 3
MFelix
Super User
Super User

Hi @Anonymous,

 

I made a sample of a file and have one column with the status when I add it to the the Gant in the legend, however what I think you want is to be able to choose the colours right?

 

In this visual this is not possible problaby you can contact the author at pbicvsupport@microsoft.com and aks for that option.

 

Regards,

 

Mfelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi

 

I am trying to do this also and struggling to find a way to select different colours based on the status of the project.

 

Any help appreciated.

 

Graham

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.