Is it so difficult to understand ?
DateTime values aren't numerical items and there use by the chart tool is difficult.
A time value is always restricted to the range 00:00:00 thru 23:59:59
As your first value is 10:00 PM it is charted as 22h in graph1
In Tableau 2, I took care to enter complete date_time values.
So, charting columns B and E, I get a result matching your needs.
In Tableau 3, I use the same date_time values but apply to column C a 24 hours time format which is more logical for charting. I charted columns C and E
In Tableau 4, in column D, I used a formula giving a true numerical value representing the data.
=24*(DATEDIF($C$2,C,"D")+TIMEVALUE(C))
and I charted columns D and E
In Tableau 5, I used durations, not date_time values.
As your entries are on two consecutive days, I was forced to use the day component.
I charted columns B and C.
As you see, the program does exactly what it is designed to do.
The problem is that you didn't understood what it is designed to do.
I hope that now, you understand.
Yvan KOENIG (Vallauris, FRANCE dimanche 9 août 2009 15:27:56)