Hi,
I have the report,Report datasource is stored procedure.The stored procedure is returning results like this:
ID Name Count
1 Own Residence 50
2 Other Residence 20
3 xxxx 89
4 vvvvvv 78
Now i want to display the report like in the following format:
Name Count
Residence
Own 50
Other 20
xxxx 89
vvvvvv 78
How to achevie this
Thanks in advance
Assuming you can't change your store procedure.
To do this you need two distinct tables on your report designer surface. One will have a filter to get rid of all names without 'Residence'. Then, you simply list the names and counts in the details section.
Right underneth, you need to add a second table without heading/footer. This one will have a filter to get rid of the name with 'Residence'. Make the column widths match the one of your first table and things should align properly as if you were using a single table.
Good luck.
No comments:
Post a Comment