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
MMurphy
New Member

Adding Numeric Data Labels to a Gantt Chart

I have a gantt chart created for a project and it's tasks. The bars are the durations of each task, with darker color representing our internal duration, and the lighter color representing external durations. I need to add the days it took for each color shade inside the bar. Any thoughts on how to add? Only label I can add right now is the status of the task, example below "Approved".

 

MMurphy_0-1726071045715.png

 

1 ACCEPTED SOLUTION
v-nuoc-msft
Community Support
Community Support

Hi @MMurphy 

 

You may not be able to do this by adjusting the format.

 

However, I can provide other solutions for your reference:

 

Here's some dummy data

 

“Project schedule”

vnuocmsft_0-1726108835656.png

 

Create a new column. Used to describe values represented by different shades of color.

 

Description = 
"Per:" & 'Project schedule'[Per] & " " &  "Dur:" & 'Project schedule'[Dur] 

 

vnuocmsft_1-1726109008220.png

 

Create a visual. Put the Description column in Resource and enable Data Labels.

 

vnuocmsft_3-1726109123098.png

 

vnuocmsft_4-1726109162086.png

 

Here is the result.

 

vnuocmsft_5-1726109325775.png

 

I hope you found this helpful.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

View solution in original post

1 REPLY 1
v-nuoc-msft
Community Support
Community Support

Hi @MMurphy 

 

You may not be able to do this by adjusting the format.

 

However, I can provide other solutions for your reference:

 

Here's some dummy data

 

“Project schedule”

vnuocmsft_0-1726108835656.png

 

Create a new column. Used to describe values represented by different shades of color.

 

Description = 
"Per:" & 'Project schedule'[Per] & " " &  "Dur:" & 'Project schedule'[Dur] 

 

vnuocmsft_1-1726109008220.png

 

Create a visual. Put the Description column in Resource and enable Data Labels.

 

vnuocmsft_3-1726109123098.png

 

vnuocmsft_4-1726109162086.png

 

Here is the result.

 

vnuocmsft_5-1726109325775.png

 

I hope you found this helpful.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

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.