Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services 在SSRS报告中有条件地显示组标题_Reporting Services_Ssrs 2008_Reporting - Fatal编程技术网

Reporting services 在SSRS报告中有条件地显示组标题

Reporting services 在SSRS报告中有条件地显示组标题,reporting-services,ssrs-2008,reporting,Reporting Services,Ssrs 2008,Reporting,我试图在SSR中编写一份报告,如下所示: Manager Name | [ Employees for Manager ] | Total Hours Spent [ All projects team worked on ] | [ Hours Employee Spent ] | [ Sum of Teams Hours ] Total | [ Total Employee Ho

我试图在SSR中编写一份报告,如下所示:

Manager Name                      |  [ Employees for Manager ]  | Total Hours Spent
[ All projects team worked on ]   |  [ Hours Employee Spent ]   | [ Sum of Teams Hours ]
Total                             |  [ Total Employee Hours ]   | [ Total Team Hours ]
我将查询汇总起来,为每个经理、员工和项目显示一行,并列出了正确的分组。但我的问题是只显示属于当前经理组的员工,而不显示所有员工

因此,结果集如下所示:

Manager Name                      |  [ Employees for Manager ]  | Total Hours Spent
[ All projects team worked on ]   |  [ Hours Employee Spent ]   | [ Sum of Teams Hours ]
Total                             |  [ Total Employee Hours ]   | [ Total Team Hours ]
经理姓名、员工姓名、项目名称、项目时间


我有一个经理行分组和一个员工列分组,但我不知道如何只显示与当前组中经理匹配的员工。我想我一定是遗漏了什么,但我想不出来。

A列在每个行组中都属于同一个组。在您的例子中,列组听起来像是EmployeeName。因此,一个列不能属于一个组中的一名员工,而是属于另一个组中的另一名员工。SSR不是这样工作的


所以为了得到你想要的,我会在你的表格的行中重复一个子报表或一个“子”matix。使用表的管理器名称作为子报表的参数(或矩阵的筛选器)。

是的,这可能会起作用。我没想到会有一份经理名为param的子报告。我希望有一个简单的方法来隐藏和显示基于该分组的列,但我会尝试一下。