对报表进行动态排序和分组 [英] Dynamic Sorting and Grouping on a report

查看:322
本文介绍了对报表进行动态排序和分组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我改变了这篇文章,因为我更改了报告参数的设置方式。

I changed this post since I changed the way the report parameters are set up.

我的报告的参数是一个下拉选项,用户可以选择'日期记录'或'存款日期'(这些是输入查询中的单独列)和日期范围(从日期到日期)和行为类型的下拉列表(也是输入查询中
的列) )。

The parameters for my report are a drop-down selection where the user can choose 'Date loggged' or 'Deposit date' (these are separate columns in the input query) and a date range (from date and to date) and a drop-down for Type of Action (also a column in the input query).

报告按所选日期和行动类型分组。每个日期和行动类型都需要小计。

The report is to be grouped by the chosen date and type of action. Sub-totals are needed for each date and type of action.

我已完成上述所有工作,但只有一个日期选择。我无法弄清楚如何对所选日期进行排序/分组。

I have all of the above working but for only one date choice. I cannot figure out how to make it sort/group for either chosen date.

此外,这是一个棘手的部分。在报告的最后,我想打印所有日期中每种类型的操作的总计。好像我可能需要一份子报告。我该如何设置?我应该创建一个单独的查询来按类型
操作进行分组和总计吗?

Also, here is the tricky part. At the end of the report I want to print totals for each type of action across all dates. Seems like I might need a sub-report. How would I set that up? Should I create a separate query to do the grouping and totalling by type of action?

推荐答案

使用计算字段进行分组和排序。

Use calculated fields for grouping and sorting.

如果需要更多然后发布您的字段名称和参数输入对象名称。

If need more then post your field names and parameter input object names.


这篇关于对报表进行动态排序和分组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆