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 |
osupratt
Posting Yak Master
238 Posts |
Posted - 2009-10-02 : 16:30:24
|
I have the following:Location 10-1-2009 10-2-2009DAL 50 100PHX 100 150I put the subtotal on the ROW group and it runs across the page fine, but I want an Average not a Sum. Does anyone have a clue? I tried the Avg(Fields!MyField.Value) and this still Sums. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-10-03 : 14:42:20
|
try putting an expression like=IIF(Inscope("Your row group"),Fields!yourfield.value,AVG(Fields!yourfield.value)) |
|
|
osupratt
Posting Yak Master
238 Posts |
Posted - 2009-10-05 : 09:44:10
|
It seems like this would work, but it is only putting AVG for one column. I need this to run under each column group DATE and it's not. It seems that that when choosing a 'subtotal' for a Row Group that it automatically puts a SUM aggregate running across the report placed under the Date column where I want the AVG to be? |
|
|
|
|
|