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.
Author |
Topic |
imranabdulaziz
Yak Posting Veteran
83 Posts |
Posted - 2008-05-05 : 10:48:26
|
Hi all, i am using sql server 2005. let me explain the scenario.i have report where i bring perticular employee totalcall and workeddays(from sp) then in third field i wrote an expresion to evaluate avg call that is totalday/workeddays and all the three field i displayed in table [b]Now requirment is in tablefooter i need to display avg of above calculated avg callplease suggest some ideathank you. |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-05-05 : 11:00:58
|
An average of an average?Bad idea...Who told you to do this? E 12°55'05.25"N 56°04'39.16" |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-05-05 : 11:04:40
|
=IIF(SUM(Fields!workeddays.value) >0,SUM(Fields!Totalday.value)/SUM(Fields!workeddays.value),0) |
 |
|
|
|
|