1、比如
b.Totals.Addexp("运", "iif([运] = 'Y', 1, 0)" ,AggregateEnum.Count)
2、表达式列,不能写在上面的代码那里
3、建议你还是用grouptablebuilder分别统计,然后再组合吧