Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 matrix report

Author  Topic 

shm
Yak Posting Veteran

86 Posts

Posted - 2009-01-23 : 06:52:59
hi

i have taken matrix report
in the layout

col date1 date2 date3 total
rows projecta emp1 09:56:54 09:04:20 09:35:06 sum (time)
emp2 10:01:54 08:54:05 09:39:27 sum (time)
rows projectb emp3 09:56:54 09:04:20 09:35:06 sum (time)
emp4 10:01:54 08:54:05 09:39:27 sum (time)

in the query am taking proj emp,date, time and total i want sum(time) for each employee.how to do this?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-23 : 12:56:07
sum of time? what is type of time column? is it actually containing duration?
Go to Top of Page

shm
Yak Posting Veteran

86 Posts

Posted - 2009-01-27 : 03:59:47
hi

no time is varchar datatype
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-27 : 13:00:06
nope. i was asking whether the value there represents duration value?
Go to Top of Page

shm
Yak Posting Veteran

86 Posts

Posted - 2009-01-28 : 00:09:40
hi

ok the vlaue is 09:56:54, 09:04:20 ,09:35:06,,, like this it is stored..
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-01-30 : 12:46:31
sum this mean what will you be expecting?
28:35:06?
Go to Top of Page
   

- Advertisement -