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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors