Updating SSRS Report Breaks Subscriptions with Dependent Parameters - reporting-services

I have an SSRS report that requires several parameters that cascade from each other. So Dropdown list B is generated when dropdown list A value is chosen. When new values come into the report it breaks an existing user's subscription's when the report causes new values to populate in one of the dropdowns. The user is subscribed with pre-chosen values they want. How can I fix this?

This error is pretty self-explanatory. Look at the Default Values for the parameter it's referring to. You either:
A. Specified the wrong data-type.
OR
B. You specified a value that wasn't in the Available Values tab. (most likely)

Related

SSRS Create As Many Tables As Needed (Using One Dataset) Based on a DataSet Field

I have a query that returns relevant data about inspectors and how long it takes them to respond to issues. The only parameters are a BeginDate and EndDate so for any given date range there could be anywhere from 0 to 100 inspectors.
I am using only one dataset and it contains an "Inspector" field that I'm hoping can be used as a filter to create as many tables as there are inspectors.
I know you can set filters on tables but from my (limited) SSRS knowledge, you must already have the tables created and the filters are typically hard-coded. What I need, is some way for the report to see how many Inspectors there are in the dataset and group those records into their own tables, repeating the same one created tablix over and over as needed.
This is being done strictly in SSRS 2012, not using a ReportViewer where back-end code could help me out unfortunately...
I don't have any code examples to provide, like I said I know you can do filtering but I am at a loss when it comes to doing something like this dynamically based on data... Sorry.
Depending on the report design you could either...
Single report with grouping
1. Create a single tablix.
2. Create a row group by Inspector and then add whatever fields you need to the details section.
3. You can optionally set page breaks between instances of your Inspector rowgroup from the rowgroup properties.
Sub report method
1. Create a subreport that accepts a parameter (InspectorID for example).
2. In the subreport filter the dataset using the parameter passed in so it only return data for a single inspector.
3. Add whatever controls you need to the report to handle a single Inspector
4. Create a main report
5. Add a dataset that gives you a simple distinct list of Inspectors, this will be used to pass parameters to the subreport.
Lets assume it just contains a list of InspectorIDs.
6. Add a list control to the report and set it's dataset property to the dataset that contains your list of InspectorIDs
7. Right-click in the list control's 'cell' and insert a subreport.
8. Set the subreport property to the subreport you created earlier and set that parmameter IsnpectorID to your InpsectorID field.
This will produce a subreport for each instance of inspector it finds.
Sorry about the format of this answer, in a rush!

Generate single report for multiple user using SSRS

I need to create student certificate using SSRS. I created new .rdl file did designed and associated with data source.
It works for single student as expected. But it does not creates report with multiple certificate while my data source returns multiple student details.
I am new for SSRS, please help me out to achieve this.
If you want to generate a certificate for each row of your dataset in the same report, you can do this with a tablix:
Add a Tablix to you your report that lists your dataset data
Drag a Rectangle into one of the Details row cells
Make the cell you dragged the Rectangle into large enough to hold all your
certificate report items
Select all your certificate items and move them into the Rectangle
Update any references to your dataset to not include a 'scope'
ie: Change =sum(Fields!ColName.Value, "Your Dataset") to =sum(Fields!ColName.Value)
Run the report
You should now have a certificate for each row in your dataset.
If you want to export multiple separate certificates, you will need to set up a data driven subscription on your report, that runs it once for each row of a returned dataset. Obviously you will need to adjust your report to be able to receive which student to generate the certificate for as a parameter.
Another way is.. if your data set is returning one row per student, then all you need to do you on your tablix is to add a parent row group.. group on StudentID.. or something unique per record.. go to group properties and add a page break at end of group. This should generate one certificate page per student..
You may need to adjust group headings and footer and things like that appear.. You will figure it out... alternatively.. watch a youtube video on how to do a basic ssrs report.
I have a subreport call StudentSub.rdl. This is linked with DataSet (stored procedure) Sp_GetStudentName(#ClassNo int). This works fine it gives always only one certificate.
Since I wanted to generate class wise certifiacte, in that case I wanted to get muliple report page wise in one PDF file. Followed below steps:
Created new RDL file called StudentReports.rdl
Linked with same data set stored procedure Sp_GetStudentName.
Drag a table from tool box to design body.
Set visibility False for table Header and some columns except one td.
Right clicked in that box (td) and inserted sub report
Right clicked sub report properties selected StudentSub subreport.
In the sub report properties added parameter ClassNo then clicked Ok.
Now When I am previewing this StudentReports by passing class no. I am getting correct number of pages.
Hope this will help others.
Thanks!

Multi value parameter in SSRS 2008

How can you tell what value was selected first in a multi value parameter in SSRS 2008?
Example
a,b,c
are the values
and I would like to know if b was selected first and if so change the string to be b,a,c
If you mean tracking which value a user clicked on first in the web interface, then you can't get this functionality through SSRS. A multi-value parameter doesn't preserve this order.
A few workarounds come to mind:
Create multiple parameters
Create multiple parameters such as "Primary BU" and "Secondary BUs." You could even remove items selected as primary from the secondary list.
Create your own interface
You can always create your own "Report Manager" interface and then call reports and serve them yourself. You get complete flexibility over the UI, but still get SSRS to handle data, report creation, and export formats.
Javascript hacking
The SSRS webpage is a webpage after all. In theory, you can insert your own code. I wouldn't recommend this, as updates may break your code though.

Auto select cascading multi-valued parameters in VS Reporting Services

I have a couple of multi-valued parameters in my report created using visual studio reporting services, one filtered against the other.
I want that each time there is any change in my first parameter drop-down list, the values appended in my second parameter drop-down list, when updated, must be auto selected by default.
As of now, I get the desired values in my second parameter drop-down list each time there is any change in my first parameter list. However,in some cases,the appended values in my second parameter list are not selected by default.
Please give suggestions to implement this functionality.
By design, it is not possible for SSRS to re-evaluate the default value(s) for a subsequent parameter unless the selected value is no longer in the valid values list, as can be seen from this issue on Microsoft Connect.
One possible workaround is to ensure that when the higher level parameter's selected value is changed, the selected value is no longer available in the valid values list for the dependant parameter - this technique is discussed in more detail here.

setting default values for a multiselect parameter in ssrs

I have a report with a parameter which allows multiple selecttions. Now what ssrs has done is that it has added a "select all " option in the parameter drop down. What I need is that if the user does not select anything all should be selected. That is I want all as default value. Please help.
thanks
Using SSRS 2008, you have a couple of options. If your parameter is populated from a dataset/query, then you should be able to choose Get Values From A Query in the Default Values tab of the Parameter. If you select the dataset that your lookup is being populated from, and the ID column, all values will be selected when you run the report.
If your parameter is populated via a list you have entered, then choose Specify Values in Parameter Properties and Add all the Labels/Values in your list.
I'm not sure if this is the same for SSRS 2005.