我试图使用嵌套的IIF语句获得3个数字的最大结果。到目前为止,我一直在说它期待结束声明。谢谢你的帮助!
IIF((IIF(Fields!Sold4Day.Value<Fields!Sold1Day.Value,Fields!Sold1Day.Value, Fields!Sold4Day.Value))<Fields!OnOrder1Day.Value,Fields!OnOrder1Day.Value)
答案 0 :(得分:0)
IIF((IIF(Fields!Sold4Day.Value<Fields!Sold1Day.Value, Fields!Sold1Day.Value, Fields!Sold4Day.Value))<Fields!OnOrder1Day.Value,Fields!OnOrder1Day.Value,(IIF(Fields!Sold4Day.Value<Fields!Sold1Day.Value, Fields!Sold1Day.Value, Fields!Sold4Day.Value)))