reporting services - SSRS iif statement error "No accessible IIf accepts this number of arguments" -
can provide insight why getting error:
"overload resolution failed because no accessible 'iif' accepts number of arguments"
here iif statement:
=iif(sum(fields!callsremaining.value))<0,1,((sum(fields!totalinventory.value)+sum(fields!callsremaining.value))/(sum(fields!totalinventory.value))) it has 2 arguments, not sure why overloading. suggestions appreciated.
thanks.
parenthesis in wrong place. fixed simple move:
=iif(sum(fields!callsremaining.value)<0,1,((sum(fields!totalinventory.value)+sum(fields!callsremaining.value))/(sum(fields!totalinventory.value))))
Comments
Post a Comment