简体   繁体   English

基于总数的交互式排序

[英]Interactive sorting based on totals

I have the following report that looks like this in design mode: 在设计模式下,我有以下报告:

在此处输入图片说明

The field I'd like to sort on is the <<Expr>> field highlighted in yellow TOTAL row. 我要排序的字段是在黄色TOTAL行中突出显示的<<Expr>>字段。 That expression reads like this: 该表达式如下所示:

=ReportItems!Textbox12.Value+ReportItems!Price3.Value

When previewed, the report looks like this: 预览后,报告如下所示:

在此处输入图片说明

I'd like to be able to sort the TOTAL row for all of the report. 我希望能够对所有报告的TOTAL行进行排序。 My desired result would have the group with the $38.52 total first, $0.92 total second, and so on. 我想要的结果将是该组的总收入为38.52美元,第二为0.92美元,依此类推。 Is this possible? 这可能吗?

I would set the Sorting on the Row Group for Patient Name. 我将在“患者姓名的行组”上设置“排序”。 Sort expressions cannot reference ReportItems so I would get the Expressions inside those Report Items references and copy them into the Sort Expression. 排序表达式不能引用ReportItems,因此我将在这些Report Items引用中获取Expressions并将其复制到Sort Expression中。

And that is seriously the worst color scheme I have ever seen in 30+ years in IT ... it literally makes my eyes water. 这真是我30多年来在IT中见过的最糟糕的配色方案……从字面上看,它使我眼前一亮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM