开发者

Crystal Reports Xi - Sorting a CrossTab Report by a Summary Field

开发者 https://www.devze.com 2023-01-04 04:53 出处:网络
So I have a simple crosstab report that calculates number of sales in the columns, and the rows are each office. 开发者_JAVA百科The last column on the right is a total column, which contains a summary

So I have a simple crosstab report that calculates number of sales in the columns, and the rows are each office. 开发者_JAVA百科The last column on the right is a total column, which contains a summary field (via a count of the identity field) that adds up the total number of sales per office.

How can I sort the crosstab data so the office with the most sales is the top row, and the rest in order under it?


Try this: Right-click on the crosstab. Go into the Group Sort Expert menu. There you will see options to display the top N rows, Sort All by the aggregate of a field of your choice, etc.

(I'm using Crystal XI. If your version is different, this may not work exactly)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号