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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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
v-yilong-msft
Community Support
Community Support

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
v-yilong-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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