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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DataNinja_777
Frequent Visitor

Changing colors of Gantt 2.2.3 by field parameter

Hi 

 

I am trying to visualize the employee tenure using the Gantt 2.2.3, subsituting the project by employee name.  How can I change the color of the project line depending on the attributes of employees?  Is there any way to control the color of the project depending on the separate attributes field? 

DataNinja777_0-1697346146269.png

Thanks for your help!

1 ACCEPTED SOLUTION
DataNinja_777
Frequent Visitor

I subsequently found out that standard function in Gantt 2.2.3 allows additional legend field to differentiate color of different field.

DataNinja777_0-1697671878866.png

 

View solution in original post

5 REPLIES 5
DataNinja_777
Frequent Visitor

I subsequently found out that standard function in Gantt 2.2.3 allows additional legend field to differentiate color of different field.

DataNinja777_0-1697671878866.png

 

Is there a way we can change the names of - Legend, Task, Parent (as visible in the screenshot above) and other fields in the visual? I was only able to change the name of chart legend (as shown in the red rectangle)Screenshot 2023-12-05 125330.png

Anonymous
Not applicable

Was this gray part in the middle of the bars automatically created? How did you do it? Which Power BI layout are you using?

amitchandak
Super User
Super User

@DataNinja_777 , I have done for other visual not the Gantt Chart

Check

Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak 

 

Thanks for your response.  Do you know how I can change the color of Gantt 2.2.3 visual?  I'd appreciate if you could let me know as I quite like the visualization generated using Gantt 2.2.3.  

Thanks!

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors