【问题标题】:Grouping In RDLC/SSRS reports在 RDLC/SSRS 报告中分组
【发布时间】:2014-10-17 10:09:44
【问题描述】:

我是 SSRS/RDLC 报告的新手,我必须创建一个报告。我有两个数据集,在这两个数据集中我有一个 year 字段,我必须按 year 对其进行分组。第一个数据集 1 应该基于年份,然后数据集 2 应该基于年份。

提前致谢

【问题讨论】:

    标签: reporting-services rdlc ssrs-2008-r2 ssrs-tablix ssrs-grouping


    【解决方案1】:

    看来你有两个选择:

    A)使用Lookup 函数将您的两个数据集链接在一起。

    B)使用子报表(更简单):

    创建一个三行 tablix。

    Row 1: Column Headers
    Row 2: DataSet 1 Data
    Row 3: A Subreport.
    

    为您的第二个数据集创建第二个报告。然后,您可以按照以下步骤将其添加到报告中。

    1.Go to insert > Subreport and click on the third row. This will insert the subreport into the tablix.
    2.Highlight all the cells in row 3 and press merge.
    3.Right click the Sub Report > Properties.
    4.In the text box entitle 'Use this report as the subreport' enter the URL from the second report.
    

    【讨论】:

    • 当我尝试从数据集 2 添加内容时,我收到一条消息,例如只允许来自当前数据集“数据集”的数据
    • 已编辑!对此感到抱歉。
    • 没问题...非常感谢您抽出宝贵时间。我会尝试并告诉你
    猜你喜欢
    • 2019-01-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多