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 |
krish001
Yak Posting Veteran
61 Posts |
Posted - 2009-11-13 : 11:11:24
|
=IIf(sum(fields!savperiod.Value=0),"",Code.Divide(sum(Fields!savc.Value),sum(Fields!savperiod.Value)))Iam using this in textbox expression where iam getting error asThe DataPoint expression for the chart ‘chart1’ uses a numeric aggregate function on data that is not numeric. Numeric aggregate functions (Sum, Avg, StDev, Var, StDevP, and VarP) can only aggregate numeric data.How to solve?? |
|
rohitkumar
Constraint Violating Yak Guru
472 Posts |
Posted - 2009-11-16 : 13:48:16
|
see if this works=IIf(sum(fields!savperiod.Value=0),Nothing,Code.Divide(sum(Fields!savc.Value),sum(Fields!savperiod.Value))) |
|
|
|
|
|