Groups | Blog | Home
all groups > sql server reporting services > may 2007 >

sql server reporting services : linked matrix together on same page?



Kevin Blount
5/18/2007 7:01:31 AM
I have a report that is 2 thin columns: a date and an avg value for
that date. Naturally this doesn't take much space on the page, and the
longer this report gets the more pages it takes up. Rather than waste
this on-screen real estate, I was wondering if it is possible to have
the matrix repeat across the page, either a set number of times or
until the page determines that a new page is needed

i.e.

pg1
1/1/2007 | 2.5 1/4/2007 | 2.4 1/7/2007 | 5.4
1/2/2007 | 5.2 1/5/2007 | 8.2 1/8/2007 | 1.9
1/3/2007 | 3.4 1/6/2007 | 8.3 1/9/2007 | 7.0

pg2
1/10/2007 | 4.5 1/13/2007 | 1.4 1/16/2007 | 3.4
1/11/2007 | 8.2 1/14/2007 | 5.2
1/12/2007 | 5.4 1/15/2007 | 7.3

possible, or "would be nice, but..." ?
EMartinez
5/18/2007 11:09:53 AM
[quoted text, click to view]


Probably the best thing to do in this case is to use a multi-column
report and then limit your rows per column. here are some steps:
1. In the BIDS 'Layout' view, select the 'Report' tab.
2. Select 'Report Properties' from the drop-down list.
3. Select the 'Layout' tab.
4. Select the desired number of columns below 'Columns:'
5. Select space between columns below 'Spacing:' and select the 'Ok'
button.
6. Add a List to the report in layout view and insert the matrix
inside it.
7. Right click the new list and select 'Properties' from the drop-down
list,
8. Select the 'Edit details group...' button.
9. On the 'General' tab, below 'Group on:' and 'Expression' type in
the following:

=Ceiling(RowNumber(Nothing)/30)

[NOTES: (a) The format above is: =Ceiling(RowNumber(Nothing)/
NumberOfRowsPerColumn).
(b) Make sure that the new list is the full width of the first
column.
(c) The main column cannot be any wider than 3 and 1/8
inches.]

Hope this helps.

Regards,

Enrique Martinez
Sr. Software Consultant
Kevin Blount
5/18/2007 11:19:55 AM
[quoted text, click to view]

Hi Enrique,

Thanks for the reply and suggestion. I'll give this a go and let you
know how I get on :)

Kevin
NAVIN.D
6/8/2007 8:30:06 AM

How do i include other table with different dataset? We get error for it ?


[quoted text, click to view]
NAVIN.D
6/8/2007 8:46:06 AM
Issue resolved by sub report

[quoted text, click to view]
Nick
7/2/2007 2:34:03 PM
I ran into the same problem and found this post. This was easy enough to do
but is causing a few small problems. Let me first describe my situation

I need to show

Group 1
Item 1, Item 2, Item 3.....Item N

Group 2
Item 1, Item 2, Item 3.....Item N

I can probably fit 5 items across the page. When I reach 6 items it puts a
page break before going to the next line in the web view. On a print
preview, each of the "Item Lines" is given its own page. Also, if I export
it to excel, each of the "item lines" is give its own tab. Am I doing
something wrong?

[quoted text, click to view]
NAVIN.D
7/4/2007 8:48:01 PM

We can resolve extrra page problem by reducing the the space provided below
the matrix,

reduce the body size to ur design size. Reduce it from right and bottom as
well u can overcome the issue.

[quoted text, click to view]
AddThis Social Bookmark Button