内部数据源,不能用isnull函数的,你要用iif才行
iif(sum([instock].qtp) is null, 0, sum([instock].qtp))-iif(sum([stockUp].qtp) is null, 0, sum([stockUp].qtp))