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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Andy18831
New Member

Simple Gantt duration issue

Hi team

 

We are upgrading our IT and setting up a Gantt to report to the business.  Seems simple, using the free Gantt in BI.

Set up a sheet with some dummy data.  Piece of cake, right?!

 

Everything though, is coming up as 1 day duration.  it does not matter if I use the end date or duration.

 

The line I have indicated is is 46 days in duration however, it only shows as 1 day.  I can see the data field is set to "count" so I guess that is right as there is 1 thing to count but how do I get it to display the days required.

Or how to I get the end date to work?  Getting the same issue there to but it is lfirst or last date, or count.  Again, doesnt work.

 

Hoping for someone can assist

 

cheers

 

 

Andy1883_0-1720674485884.png

Andy1883_1-1720674620481.png

Andy1883_2-1720674689988.png

Andy1883_3-1720675180223.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Andy18831 ,

I think you can use this Gantt 3.0.12.0 visual.

vyilongmsft_0-1720761841856.png

I create a table as you mentioned.

vyilongmsft_1-1720761908584.png

Then I add it to the Gantt visual.

vyilongmsft_2-1720761954188.png

I also create a calculated column to calculate the duration and put it into the tooltip.

Duration = DATEDIFF('Table'[Start Date],'Table'[End Date], DAY)

vyilongmsft_3-1720762174699.png

 

 

 

Best Regards

Yilong Zhou

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

2 REPLIES 2
Anonymous
Not applicable

Hi @Andy18831 ,

I think you can use this Gantt 3.0.12.0 visual.

vyilongmsft_0-1720761841856.png

I create a table as you mentioned.

vyilongmsft_1-1720761908584.png

Then I add it to the Gantt visual.

vyilongmsft_2-1720761954188.png

I also create a calculated column to calculate the duration and put it into the tooltip.

Duration = DATEDIFF('Table'[Start Date],'Table'[End Date], DAY)

vyilongmsft_3-1720762174699.png

 

 

 

Best Regards

Yilong Zhou

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

miTutorials
Super User
Super User

I want to suggest an alternative Gantt visual which is available and really clean - Do give it a try!

 

Step by Step Tutorial to Create Gantt Chart in Power BI using Deneb | MiTutorials - YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.