Hi
I have designed a report using the Report Builder within SQL Reporting Services. I am extracting the number of queries logged by client from data that is available with a SharePoint list.
The error that I am experiencing is that data is being returned for each client.
Please see this table:
Client | Sub Client | Number Open | Number Closed | Aging 0-5 | Aging 5-30 | Aging 30+ |
ABC | CDE | 1 | 0 | 1 | 0 | 0 |
ABC | CDE | 1 | 0 | 1 | 0 | 0 |
DBC | FDR | 1 | 1 | 0 | 1 | 0 |
XYZ | PIO | 1 | 1 | 0 | 1 | 0 |
DBC | FDR | 1 | 1 | 0 | 1 | 0 |
XYZ | PIO | 1 | 0 | 1 | 0 | 0 |
The expression that I am using for Number Open is =SUM(IIF(Fields!Status.Value = "Logged",1,0)) Or Count(IIF(Fields!Status.Value = "In Progress",1,0)) and for Aging 0-5 =Sum(IIF(Fields!Aging.Value<5,1,0)).
I need each client and sub client to be available in a single row with the values added, so the above table would appear as follows:
Client | Sub Client | Number Open | Number Closed | Aging 0-5 | Aging 5-30 | Aging 30+ |
ABC | CDE | 2 | 0 | 2 | 0 | 0 |
DBC | FDR | 2 | 2 | 0 | 2 | 0 |
XYZ | PIO | 2 | 1 | 1 | 1 | 0 |
I would really appreciate your assistance.
Thanks
Tony