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
abartozzi
Frequent Visitor

Populate a GANNT chart with timelines extracted from date ranges

Hi Community, 

 

I'm trying to solve this one but i'm quite lost. I have this simulated dataset

 

Product nameProduct CodeStart DateOperation dayDurationEnd DateDeparting PointArrival Point
TEST01TEST0104/01/2021Moday3 days01/02/2021Point APoint B
TEST02TEST0201/02/2021Tuesday7days10/06/2021Point APoint B

 

So, I have to populate this gannt chart where all the product are displayed according to start and end dates starting in the operation days and duration. 

 

E.g. for TEST 01 i should have  in the GANNT chart 4 lines starting on 04/01/2020 for 3 days, 11/01/2020 for 3 days, 18/01/2020 for 3 days, 25/01/2021 for 3 days and 01/02/2021 for 3 days.  

 

I am able to do so according to start and end date but it would create a long line for the whole period, but i failed to restrict it according to operation days. 

 

Please help mee🤣

 

thank you 

 

Albe

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@abartozzi 
You cannot have have a duration with text type, try change the column into Duration(days) with value 3 and 7 in whole number data type. 

Then remove the enddate and add the new duration column.

V-pazhen-msft_1-1606881452584.png

 

PaulZhengg _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

@abartozzi 
You cannot have have a duration with text type, try change the column into Duration(days) with value 3 and 7 in whole number data type. 

Then remove the enddate and add the new duration column.

V-pazhen-msft_1-1606881452584.png

 

PaulZhengg _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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