Forum Discussion
jberuh
9 years agoNew Member
Gantt Chart - Duration
I connected data from a SharePoint List to PowerBi. I have all the data that I need except for the "Duration." - I do however have an "End Date." Is there a way around it or some way to make Pow...
- Anonymous9 years ago
Hi jberuh,
If your table contains start date, you can try to use datediff function to create a duration column.
Sample:
Duartion= DateDiff(Table[StartDate],Table[EndDate],HOUR)
If you table not contains the start date, you should find it first then calculate with it.
Reference link:
Regards,
Xiaoxin Sheng
Anonymous
9 years agoNot applicable
Hi jberuh,
If your table contains start date, you can try to use datediff function to create a duration column.
Sample:
Duartion= DateDiff(Table[StartDate],Table[EndDate],HOUR)
If you table not contains the start date, you should find it first then calculate with it.
Reference link:
Regards,
Xiaoxin Sheng