我正在使用Crystal Report 2008,我使用了CrossTab,我有一个这样的输出:
RED | BLUE | YELLOW | GREEN | TOTAL
-------------------------------------------------------
TOTAL | 43 | 89 | 43 | 110 | 285
-------------------------------------------------------------------
BOXLARGE-1 | 0 | 20 | 8 | 10 | 38
BOXLARGE-2 | 5 | 15 | 5 | 15 | 40
BOXLARGE-3 | 25 | 13 | 6 | 10 | 54
BOXMEDIUM-1 | 0 | 18 | 5 | 20 | 43
BOXMEDIUM-2 | 8 | 12 | 9 | 30 | 59
BOXMEDIUM-3 | 5 | 11 | 10 | 25 | 51
如何在每个Type(Box of Size)的底部添加子总数,并在交叉表中添加如下输出:
RED | BLUE | YELLOW | GREEN | TOTAL
-------------------------------------------------------
TOTAL | 43 | 89 | 43 | 110 | 285
-------------------------------------------------------------------
BOXLARGE-1 | 0 | 20 | 8 | 10 | 38
BOXLARGE-2 | 5 | 15 | 5 | 15 | 40
BOXLARGE-3 | 25 | 13 | 6 | 10 | 54
------------------------------------------------------------------
SUB TOTAL | 30 | 48 | 19 | 35 | 132
BOXMEDIUM-1 | 0 | 18 | 5 | 20 | 43
BOXMEDIUM-2 | 8 | 12 | 9 | 30 | 59
BOXMEDIUM-3 | 5 | 11 | 10 | 25 | 51
------------------------------------------------------------------
SUB TOTAL | 13 | 41 | 24 | 75 | 153
谢谢,