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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

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? 

5 REPLIES 5
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.

Anonymous
Not applicable

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

Hi @Anonymous 
Thank you for reaching out to the Microsoft Fabric Forum Community. 

The Microsoft Gantt visual in Power BI (by Microsoft) currently does not provide a direct option in the format pane to individually style or change the color of parent tasks differently from regular tasks. This includes the absence of a "Data colors" section for conditionally formatting tasks based on fields such as parent status or task category.

 

consider using a third-party Gantt visual from AppSource like xViz Gantt Chart or MAQ Software Gantt, these visuals typically offer advanced customization, including color formatting based on custom rules, legends, or hierarchies.

 

If you'd like to see more formatting options in the default Microsoft Gantt visual, We recommend submitting a feature idea or upvoting one here: Fabric Ideas - Microsoft Fabric Community

 

If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.

Hi @Anonymous 

Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.

Thanks.

I hope you have submitted, As we haven’t heard back from you, we’re closing this thread. For any further discussions or questions, please start a new thread in the Microsoft Fabric Community Forum  we’ll be happy to assist.

Thank you for being part of the Microsoft Fabric Community.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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