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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Chinmay_8706
New Member

How to change the parent task color in the gantt chart provided by microsoft ?

Is there any option to change the colour of parent in the gantt chart provided by microsoft on power bi? I dont find any option for that within the gantt chart and i am also unable to find data colors section under format pane also set up the color formatting. Please suggest how can we acheive it? 

2 REPLIES 2
SamWiseOwl
Super User
Super User

Duplicate the column you want to use as the parent.

Or create a calculated column that groups the parents.

Use this in the Legend and set the colours:

SamWiseOwl_0-1742996899839.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Hi, 

I tried your method but the legend is not allowing me to add one extra item into it(tried both ways duplicate and calculated column). so basically i wanted to change the color of project bucket column which is being used as the task. and in legend we are having the task status which basically records the status of each indidvidual sub task so the colours of each sub task is coming from this. Now when i shrink the parent (project bucket) its showing me the colour code of one of the sub task. i need to change the colour green to blue. color code issue in gantt chart.PNGcolor code issue in gantt chart 2.PNG

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors