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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.