g.Totals.AddDef("姓名",AggregateEnum.Count,"参考人数")
g.Totals.AddDef("语文_语总",AggregateEnum.Average,"语文_语总")
g.Totals.AddDef("数学_数总",AggregateEnum.Average,"数学_数总")
g.Totals.AddDef("英语_英总",aggregateEnum.Average,"英语_英总")
g.Totals.AddDef("政治_政总",AggregateEnum.Average,"政治_政总")
g.Totals.AddDef("历史_历总",AggregateEnum.Average,"历史_历总")
g.Totals.AddDef("物理_物总",AggregateEnum.Average,"物理_物总")
g.Totals.AddDef("化学_化总",AggregateEnum.Average,"化学_化总")
g.Totals.AddDef("生物_",AggregateEnum.Average,"生物_生总")
g.Totals.AddDef("地理_",AggregateEnum.Average,"地理_地总")
g.Totals.AddDef("体育_B",AggregateEnum.Average,"体育_体总")
g.Totals.AddDef("总分",AggregateEnum.Average,"总分平均")
这个统计有个问题,当某科有空值时,该科算平均分是不计空值,但总分均为非空,算平均是要算,相当于总分平均的分母大于分科的分母,这样如果用各科的平均分加起来与总分的平均数加起来不等,这个问题如何是好