不等于表达式
Not equal expression
我正在考虑使用 4 个表达式,其中 3 个等于,1 个不等于,但不计算不等于
我正在使用 .
=sum(iif(Fields!NEW_SUPPLIER.Value = "Eon", 1,0)
And (Fields!WeekDay.Value = "Monday")
And (Fields!UTILITY.Value = "Elec")
And (Fields!OLD_SUPPLIER.Value <> "Eon"))
请有人指出正确的方向。
您需要确保所有检查都在 IIf
表达式的第一个参数中:
=sum
(
iif
(
Fields!NEW_SUPPLIER.Value = "Eon"
And Fields!WeekDay.Value = "Monday"
And Fields!UTILITY.Value = "Elec"
And Fields!OLD_SUPPLIER.Value <> "Eon"
,1
,0
)
)
我正在考虑使用 4 个表达式,其中 3 个等于,1 个不等于,但不计算不等于
我正在使用 .
=sum(iif(Fields!NEW_SUPPLIER.Value = "Eon", 1,0)
And (Fields!WeekDay.Value = "Monday")
And (Fields!UTILITY.Value = "Elec")
And (Fields!OLD_SUPPLIER.Value <> "Eon"))
请有人指出正确的方向。
您需要确保所有检查都在 IIf
表达式的第一个参数中:
=sum
(
iif
(
Fields!NEW_SUPPLIER.Value = "Eon"
And Fields!WeekDay.Value = "Monday"
And Fields!UTILITY.Value = "Elec"
And Fields!OLD_SUPPLIER.Value <> "Eon"
,1
,0
)
)