我从数据集
获取以下数据 Year custname custnum Jan feb Mar Apr May Jun
2013 ABC Ability 000104 199145 9299 1496 0 0 0
2012 ABC Ability 000104 202940 10477 0 0 0 0
2013 XYZ Receiv 000110 81499 66667 94915 236830 102533 69619
2012 XYZ Receiv 000110 136948 94051 84563 69581 73565 68922
2013 PQR Recoveries 000644 213872 172285 224032 227751 254794 212183
2012 PQR Recoveries 000644 247707 253114 302022 286795 327772 300033
我希望我的报告看起来像
Customer Jan feb mar jan apr may Jun
ABC Ability 199145 9299 14960 0 0 0
000104 000104 202940 10477 0 0 0 0
对于下一个客户等等,最后每个月的总数不同于每年
更新
我得到的数据代表现在只需要总计
我希望每年的总数是分开的
最后它应该看起来像
Total this row will contain total for 2013 for each column
this row will contain total for 2012 for each column
所以我需要每年过滤数据集并得到总数,但不知道任何帮助会很棒
答案 0 :(得分:0)
试试这个解决方案:
1. Insert the row outside the group below
2. Add new parent row group within the new row.
3. Add Year field from your dataset as your grouping element
4. When the new group is created go to properties of this group
5. Go to "Filters" tab and add new filter
6. In "expression" field choose Year, in "value" field insert value of "2012"
7. Repeat this for year 2013.
在设计模式下,您的报告应如下所示: