这是我尝试实现的公式,我的“ AND”表达式似乎无效:RED =超出平均总索赔额AND((%Cash> = AVG%CASH + STD DEV)或(%Insured Not >> AVG InsNC + Std Dev))
SSRS表达式:
=iif((Sum(Fields!REDEMPTION_COUNT.Value) > (Sum(Fields!REDEMPTION_COUNT.Value, "Results")/CountDistinct(Fields!NABP_ID.Value,"Results"))) AND
(
((Sum(Fields!CASH_REDEMPTIONS.Value)/Sum(Fields!REDEMPTION_COUNT.Value)) >=
((Sum(Fields!CASH_REDEMPTIONS.Value, "Results")/Sum(Fields!REDEMPTION_COUNT.Value, "Results"))+ Stdev(Fields!CASH_REDEMPTIONS.Value/Fields!REDEMPTION_COUNT.Value,"Results")))
OR
((SUM(Fields!INC_REDEMPTIONS.Value)/SUM(Fields!REDEMPTION_COUNT.Value)) >= ((Sum(Fields!INC_REDEMPTIONS.Value, "Results")/Sum(Fields!REDEMPTION_COUNT.Value, "Results")) +
Stdev(Fields!INC_REDEMPTIONS.Value/Fields!REDEMPTION_COUNT.Value,"Results")))
)
,"Tomato", "White")
谢谢!