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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.