4
votes

Why am I getting this error in my chart? (Chart Image)

I am using this expression in the chart:

Series:

=Sum(Fields!Mins_Att.Value)/Sum(Fields!Mins_Poss.Value)

Series 1: 

=Sum(Fields!Mins_Att.Value, 
         "Chart2_CategoryGroup2")/Sum(Fields!Mins_Poss.Value, "Chart2_CategoryGroup2")

and I am getting this error:

The Y expression for the Chart has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal the name of group, data region or name of dataset.

1
What is "Chart2_CategoryGroup2" supposed to be referring to? I don't see it anywhere in the screenshot. - StevenWhite
@Steve - you are right I have changed it to current dataset and chart displays now. Thanks for pointing this out - Aruna Raghunam
Glad that helped. I'll move it to the answer. - StevenWhite

1 Answers

1
votes

The scope of "Chart2_CategoryGroup2" doesn't exist in the report.