Hi,
I have to total Active Time object (measure) in Milliseconds. In some cases on a monthly basis a User can be active on an application up to 50-60 hours. In that case can I need my report to show in following format.
50:33:22 or 50H 33M 22S (and still should be used in a chart, as turning a table into chart requires a measure object)
What I see as an option is to create an object using my active time to display using a formula as below. But now the Active time is no more a date/time or number. Its a string (character).
=FormatNumber(Floor(<number of seconds>/3600) ,"00") & ":" &
FormatNumber(Floor(Mod(<number of seconds> ,3600)/60) ,"00") & ":" &
FormatNumber(Mod(Mod(<number of seconds> ,3600) ,60) ,"00")
But how to use it in a Bar chart (User name on Y axis and Active time on X axis showing the values in HH:MM:SS or XXH XXM XXS format)
My Database is SQL Server 2005.
Sudhir.