您好我正在使用 Crystal Report 2008,我的设计是这样的:
Report header
Page Header
Group Header#1 (group by Customer)
Group Header#2 (group by Size) (S, M, L)
Details
Group Header#2 (group by Size) (S, M, L)
Group Header#1 (group by Customer)
因为我想按客户和大小获取值,所以我将汇总字段放在组标题 2 中,所以我有这样的输出:
Customer Size Amount
----------------------------------------
CUS-A SMALL 23500
CUS-A MEDIUM 33000
CUS-B SMALL 25500
CUS-B LARGE 22500
CUS-C SMALL 50500
CUS-C MEDIUM 20500
CUS-C LARGE 15500
输出是正确的,但是如何按降序对金额进行排序,输出应该是这样的:
Customer Size Amount
----------------------------------------
CUS-C SMALL 50500
CUS-A MEDIUM 33000
CUS-B SMALL 25500
CUS-A SMALL 23500
CUS-B LARGE 22500
CUS-C MEDIUM 20500
CUS-C LARGE 15500
谢谢,