试图在 SSRS 中做一些数学运算并得到这个错误。
The Value expression for the text box ‘totalboxes3’ has an inner aggregate in an outer aggregate that specifies a dataset scope. An aggregate that specifies a dataset scope cannot contain other aggregates.
我正在使用表达式:
=Sum(Fields!GP_Goal.Value, "Main") / Sum(Sum(Fields!Smartphone_Postpaid.Value) - Sum(Fields!CPE_Postpaid_Only.Value), "Main")
我对 SSRS 很陌生,所以我试图了解这是在问我什么以及如何解决它。
我也试过
=Sum(Fields!GP_Goal.Value, "Main") / Sum(Sum(Fields!Smartphone_Postpaid.Value, "Main") - Sum(Fields!CPE_Postpaid_Only.Value, "Main"))