=sum(iif(Fields!zzz.Value="xxx",iif(Fields!yyy.Value=0,nothing,Fields!yyy.Value),0)) 转载于:https://www.cnblogs.com/chunshen/archive/2012/07/07/2580384.html