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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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