Split pages in SSRS with parameters and different datasets - reporting-services

I would like to know how to organize my report to be able to display few charts coming from different datasets depending on a specific field for the page.
So I would like to have 5 pages containing each 3 charts from different datasets based on the same parameter.
It is something like the wizzard generates but I am not able to add a chart coming from other datasets and if I create another area with the parameter as header, it is splitted in 5*3 pages.
Any suggestion is welcome, thanks in advance.

Try inserting 5 Rectangle items into your report and add a page break after each one. You can then insert Charts into the Rectangle items, making sure they are sized appropriately. Also make sure the SSRS parameter points to the parameter used in the charts' Datasets.

Related

Is it possible to create a telephone directory/provider directory kind of pdf report using SSRS?

I don't see repeater kind of insert-able object where I can create directory kind of report in SSRS. Any input on how to achieve this kind of reporting in SSRS?
Similar to a telephone directory like shown in figure
I've taken this sample data from the Adventure works sample database customer table.
I simply added a table and aded placeholders in the first cell for each of the customer elements I wants to display and formatted them as required.
Then in the report properties, I set the columns to 3.
The design looks like this...
Note that multi column layouts only work with certain renderers such as PDF so if I view it on screen I get this
If I export the report to a PDF I get this.
There are ways to get round doing it on screen to but that's more complicated. Let me know if you need to do this on screen too.

Subreport as a header in main report (with page numbering)

I'm facing an odd issue: I'm going to create lots of reports using reporting services (SSRS) and one request was to create a subreport that will be shown as a header in main report. I've come across two main problems:
It is not possible to insert subreports into report headers. I thought of a possible workaround and just create a subreport without header and then insert subreport on top of body in main report. But then I faced another problem:
My header contains a logo, title and page number. However, function for page numbering cannot be used in report body, only in header.
Is there any alternative? Or should i just add a header to each report instead of trying to create a subreport for the header?
You can start by using a report with the header as a template. You would start with this whenever you make a new report. That at least eliminates the need to recreate it each time.
If you do want to be able to manage the headers dynamically, you can use a data-driven approach. Almost all of the properties for images and text boxes can be defined with expressions. And the expressions can refer to a dataset. In other words, you can store all of your preferences in a table. Your header template would include a dataset that brings in all the settings. Then you can use expressions to define how the header will look.
By doing this, you would be able to adjust the image, font size, etc. in all the headers at once just by changing a value in your table. Obviously there is some overhead with setting up the template this way, but it has a negligible performance impact and gives you more power to manage the header dynamically.

ssrs display multiple documents

We have several RDL's that that are designed using textbox's to display data as a document to be converted to PDF or printed directly. There is no table involved in the RDL's. I am trying to get one of the RDL's to display multiple documents by passing a dataset of multiple DocumentId but it only appears to display the first document. I figure there must be a setting to force a page break on the actual dataset or page itself but I have not found one yet. Does anyone know of such a feature of SSRS 2008?
I would recommend putting the textbox in lists and have the list group on Documentid. This should fix your issue. If you want it to be shown on a separate page you should be able to select page break between groups.

Repeat multiple charts on each page of subreport

I've a SSRS page which has header, two charts with different datasets and a subreport below charts.
When I run the page and drill down (I click on one of the bars of chart, it calls itself) and data populates in subreport which spans multiple pages.
My problem is I want to repeat those charts on each page. I've searched and tried a lot However nothing worked forme.
How can I repeat charts in multiple pages of subreport? Please note that I've got charts with different data sets and that subreport is used at multiple places.
Thanks for the reply mike.
I believe it can not be achieved using subreports. hence, i embedded that subreport tablix into report and did as suggested by mike(charts went into header row).
Since tablix accepts only single dataset, i created a big dataset that has all the fields for two charts and data and applied required settings to get the job done.
It worked for me(at least to get the job done.).
I had a report that after each record (customer), I put a page break so that each record got its own numbers in one page. I also wanted to add a graph specific to only that customer. So i added the graphs into a table. In the table where my graphs were place, I added a parent group group - the same group as my data and I checked that the table also had the page break on the same group. This separated each record into a page each and also added the graphs to its corresponding record.
I would try to wrap the two charts and subreport inside a tablix. The dataset for the tablix would be one that returns a single row.
The two charts would go into the header row(s). The subreport would go in the Detail row.
Row and Column sizes need to be expanded to fit the chart and subreport sizes. There may be only one or two Columns depending on your layout.
Then I would use the dreaded "Advanced Mode" technique to get the header row(s) to repeat on each page, e.g.
http://blogs.msdn.com/b/robertbruckner/archive/2008/10/13/repeat-header-and-visible-fixed-header-table.aspx

Creating a Directory Listing type Report in SSRS

I was wondering if there was a way to create a directory listing report in ssrs and if so, how would i go about creating it.
I'm mostly familiar with creating tabular and some somewhat complex reports, but nothing like this; so any help would be extremely useful.
Here's a sample of how the report might look.
Thanks!
Addendum: The content on each page needs to be grouped by Department & Sub-Department.
I made a mistake on the sample report; where it says Department Subtitle it should say sub-department.
Here's one way I've seen it done.
For a 3 column look, create 3 tables/list with the same dataset and set visibility for details group to:
=IIF(ROWNUMBER("YourDataSet") mod 3=1,FALSE,TRUE) <--Table1
=IIF(ROWNUMBER("YourDataSet") mod 3=2,FALSE,TRUE) <--Table2
=IIF(ROWNUMBER("YourDataSet") mod 3=0,FALSE,TRUE) <--Table3
I think your problem is an addition to this question here.
I did a simple test that imitates your situation. Here is how to do it:
Set the report to 3 columns via Report properties. Adjusted the width of each column so that they fit in 1 page of paper.
Add a List control to the first column. Put Text Box controls inside with the required data fields. The List control will repeat for each Listing record.
Create groups for Department and Sub-Department via Row Groups pane. Rearrange the groups so that they will appear above the List control.
Right-click on Department group (or Sub-Department group) and add Page Breaks.
Preview (Should get a result pretty close to what you want)