Forum Discussion
Anonymous
5 years agoNot applicable
Which visual for a Job Timeline?
I'm trying to look for a visual with the following specifications: Job usage timeline (bar graph like) Jobs can be part of a group When two or more jobs of the same group overlap (timestamp) they...
Anonymous
5 years agoNot applicable
Hi Anonymous ,
In the Gantt chart, do you want to show the difference timestamp between two dates?
You can create calculated column
Time =
VAR DIFF ='Table'[date1] - 'Table'[date]
VAR NumOfMinutes = DIFF * 24
* 60
VAR DAYS =
IF ( DIFF >= 1, INT ( DIFF ), BLANK () )
VAR HOURS =
INT ( ( DIFF - DAYS ) * 24 )
VAR MINUTES = NumOfMinutes
- ( DAYS * 24
* 60 )
- ( HOURS * 60 )
VAR DaysText =
IF ( DAYS > 1, FORMAT ( DAYS, "00" ) & "days" )
VAR HoursText =
FORMAT ( HOURS, "00" ) & "hrs"
VAR MinutesText =
FORMAT ( MINUTES, "00" ) & "mins"
RETURN
IF (
NOT ( ISBLANK ( 'Table'[date1] ) ),
COMBINEVALUES ( " ", DaysText, HoursText, MinutesText )
)
Put into the Gantt chart visual effect, you can display days, hours, minutes and seconds
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi,
thank you for sharing the file. May I ask how could I change the scale of x-axis? I display the data in minutes/seconds (the duration of the task is between 1 s to 1 hour). Thank you for your help (I used the same graph as you recomended). Sona