这是我目前的表达方式
=IIf(Fields!Units_Sold.Value = 0, 0, Fields!Total_Incidents.Value / IIf(Fields!Units_Sold.Value = 0, 1, Fields!Units_Sold.Value))
我需要添加字段!。技术="有线"在上面的陈述中我尝试了几个不同的东西但没有成功。
答案 0 :(得分:0)
试试这个:
=IIf(Sum(iif(Fields!technology.Value = "wired",Fields!Units_Sold.Value,0)) = 0,
0,
sum(iif(Fields!technology.Value="wired",Fields!Total_Incidents.Value,0)) /
IIf(Sum(iif(Fields!technology.Value = "wired",
Fields!Units_Sold.Value,0)) = 0, 1,
Sum(iif(Fields!technology.Value = "wired",Fields!Units_Sold.Value,0))
)
)
它没有经过测试但应该有效。如果这可以帮到你,请告诉我