简体   繁体   English

SSRS-一份报告中的多个矩阵表(分组)

[英]SSRS - multiple matrix tables in one Report (Grouped)

I am trying to find a way to pass in a parameter that can have multiple values (customer codes). 我试图找到一种方法来传递可以具有多个值(客户代码)的参数。 These customer values then show a matrix table: X column: Months Y column: Years Turnover figures in the body. 然后,这些客户值显示一个矩阵表:X列:月Y列:年正文中的营业额数字。

So this bit was easy. 所以这很容易。 Now I want to be able to pass in more than one customer code and the matrix churns out a new table per customer, ideally when exported to excel it will show one matrix per sheet. 现在,我希望能够传递多个客户代码,并且矩阵为每个客户搅动一张新表,理想情况下,导出到excel时,每张表将显示一个矩阵。

I know the easy answer to this is to just keep running the report over and over for each customer but this question is a matter of interest to see if this is possible. 我知道一个简单的答案就是继续为每个客户反复运行报表,但是这个问题是一个有趣的问题,看是否可行。

Thanks in advance to all that can help 预先感谢所有可以提供的帮助

try with matrix inside tablix .. i just tried creating a similar report with employee/deprtment 尝试在Tablix中使用矩阵。.我刚刚尝试用雇员/部门创建类似的报告

tablix report grouping done on department 在部门完成的tablix报告分组

在此处输入图片说明

Second, matrix report filtering done by department (take parameter) 二,按部门进行矩阵报表过滤(取参数)

在此处输入图片说明

add a row inside group in tablix report and add a matrix report as subreport in that.. pass the parameter department value in subreport .... 在tablix报表中的组内添加一行,并在其中添加矩阵报表作为子报表。在子报表中传递参数部门值。

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

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