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 |
kdnichols
Posting Yak Master
232 Posts |
Posted - 2006-12-26 : 09:17:08
|
Hello,I have the following Nested IIf statement:=Sum(IIf(Fields!Disposition.Value =16,1,0)) / Count( Fields!VendorId.Value=7) This returns me a value of 0.5 when it should be 0.0 what have I done wrong? There are no error messages during the compile and build.Thanks In Advance!Hope everyone had a Merry Christmas!Kurt |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2006-12-26 : 09:34:32
|
Where is nesting?Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
|
|
kdnichols
Posting Yak Master
232 Posts |
Posted - 2006-12-26 : 09:44:22
|
Hello,I guess it is not nesting just an IIf.Kurt |
|
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2006-12-26 : 10:47:07
|
This is very little information. Please provide some sample data.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
|
|
|
|
|