I have created a DLL and specific translation funtions for my reports.
With these functions i can manipulate all text and numeric data in anyway i want
depending on several user settings (like user language and user local browser settings).
The only textfields i'm not able to manipulate with my functions are the parameter prompts.
Is the a way to manipulate them through custom functions ?
Basically I had 2 paramater which ComputerName and MemberName.
The membername was set as Multi-Value as sets as follow: Label: Value: Exclude Domain Admins Domain Admins Exclude Local Install Local Install
And the query is:
SELECT id, ComputerName, GroupName, MemberName, ScanDate FROM GROUPMEMBERS WITH (NOLOCK) WHERE ComputerCN LIKE '%' + @ComputerName + '%' AND MemberName NOT IN (@MemberName) ORDER BY ComputerName ASC
The prompt is like this: Computer Name [ ] Excluded by [ ]
The issue is in the second prompt I have to select "something" which is I don't want to. I want the user to have this parameter as an optional.
I would like to call the report from an external source: The report requires a paramater.
I tried the following: <a href='http://Report.aspx?ItemTakeOn%2fItemTakeOn&ProcessNo=278'> Report</a>"
The link works & i added the parameter in the link (ProcessNo=278) it opens the report but i still have to manually insert the Parameter. Also tried setting the parameter as hidden.
I have a question regarding how to use report prompts in SSRS reports that are based on SQL queries. When I added the prompt into the query for use as a filter value, it says that there is an error. It does not recognise the '!' inside the parameter prompt string. Example is parameter!month_prompt.Value, which the ! is not recognised.
I've seen some similar posts to this one, however none with an answer and I'm wondering if anyone has actually figured out what causes this issue. I'm running SQL Server 2005 Reporting Services.
I'm attempting to implement a folder structure for the report server, therefore am creating individual solutions in Visual Studio for each folder. At the top level i.e http://servername/reportserver/ I am able to deploy reports no problem.
However creating a folder at the next level in the tree and then deploying to that level such as http://servername/reportserver/ManagementReports causes a Reporting Services Login prompt to appear. No matter what user credentials I enter they are not accepted. I have full administrator rights the server, the site and the folders in question.
Has anyone else experienced this? Does anyone have any suggestions?
I'm a very basic user to VSS 2005 and I've created a simple report to display our customer master table. The problem is that we have 1000's of customers, but the report must scroll page by page.
We have requirement where we need to run the SSRS report from Command Prompt. We are using Control + M, which is a scheduler runs only from DOS prompt.
Can anyone help us to know the procedure of doing this.
I've got a few questions regarding prompts on the Report builder
Can I change caption of the prompt? I intend to let the users know what kind of prompt that is, if the date they're choosing is a upper limit or a lower limit
How can I create a Between date prompt? I tried using the From..To but it disabled my option to tranform the Filter into a prompt, and from some reason it didn't let me execute report which had After and Before prompts on the same date field (tried it as some sort of work around)
I tried adding fields from a 3rd level table using the report builder, I.E, I drilled down to the 3rd connected table and I was unable to add fields ... any thoughts?
Hi all I hope someone can help me on this issue: I am designing dynamical reports, that are abel to run in four different languages - so far everything works just fine for me (I select my headers and labels from a database). Only problem is the prompt text for report parameters. How can I set this text dynamically?
E.g. I have a parameter where the user selects a storage - this prompt should be "Storage: " in the English report and "Lager: " in the Danish report. I have absolutely no idea how to fix this.
In Report Builder, can you link prompt/filter fields to one another? For instance, I have Users and Groups and I want to dynamically fill the dropdown for Users based on the Group(s) chosen in the group prompt/filter. Or show the hierarchy as a expanding tree list for navigating the hierarchy to choose the user/groups to report on.
Another example would be product category & subcategory in adventure works.
And just to throw in a wrench, one of the areas I want to do this has 4 levels to the hierarchy.
I have created some reports using Report Builder however they autorun with default values when selected in report manager, cant think many people would want this to happen. Is there a way of getting rid of the default values in RB or preventing auto execute in RM?
does RS allow a report to be built such that after user runs it, hovering over a particular piece of info could display some variable piece of info similar to tooltips, intellisense etc?
How about a tip to the user if he/she hovers over a parameter prompt?
We are using Microsoft Reporting Service 2005 to develop reports and we are accessing these reports through a J2EE application. The front end is implemented using Tapestry and we using JBoss as our applicaiton server. We are using Shared Data Sources for the reports and we set its data source type to SQL Server Analysis Services. In the credential tab, by default "Use Windows authentication" is selected. All other options are disabled.
When I access my reportserver through my web application, I am always prompted for a windows login and password. How can I avoid being shown the windows login prompt, since our web application will be used by several users and we do not want the users to type in a username/password everytime they want to access our reports.
I am accessing my reports through one aspx page designed by me. in that i am using webservice to render the report and linking the url of the report to reportviewer
it is working fine but for the first time it is asking username & password of the reporting server to render the report. i am using Reporting Services 2000 plz help to avoid this user name & password prompt.
Hello, since a couple of days I'm fighting with RS 2005 and the Stored Procedure.
I have to display the result of a parameterized query and I created a SP that based in the parameter does something:
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE PROCEDURE [schema].[spCreateReportTest] @Name nvarchar(20)= ''
AS BEGIN
declare @slqSelectQuery nvarchar(MAX);
SET NOCOUNT ON set @slqSelectQuery = N'SELECT field1,field2,field3 from table' if (@Name <> '') begin set @slqSelectQuery = @slqSelectQuery + ' where field2=''' + @Name + '''' end EXEC sp_executesql @slqSelectQuery end
Inside my business Intelligence Project I created: -the shared data source with the connection String - a data set : CommandType = Stored Procedure Query String = schema.spCreateReportTest When I run the Query by mean of the "!" icon, the parameter is Prompted and based on the value I provide the proper result set is displayed.
Now I move to "Layout" and my undertanding is that I have to create a report Paramater which values is passed to the SP's parameter... So inside"Layout" tab, I added the parameter: Name allow blank value is checked and is non-queried
the problem is that when I move to Preview -> I set the value into the parameter field automatically created but when I click on "View Report" nothing has been generated!!
I had thought that this was possible but I can't seem to figure out the syntax. Essentially I have a report where one of the parameters is populated by a stored procedure.
Right now this is easily accomplished by using "exec <storedprocname>" as the query string for the report parameter. However I am not clear if it is possible to now incorporate User!UserID as parameter to the stored procedure. Is it? Thanks
I have a report parameter called para1 which is a drop-down list and what I want to do is display another report parameter based on the para1 selection.
So for example, para1 contains a, b, c choices. if a user selects b, I would like para2 to display but if the user selects a or c, I don't want the para2 to display.
I'll go to a dataset, open up the query designer, add a new parameter, then refresh the fields, but the parameter won't be added as a report parameter. If I go to the dataset properties under the list of parameters, the value in the dropdown will be blank. However, sometimes this will automatically add.Â
Is this a bug in Visual Studio? How do I get around this?Â
I have created a menu report listing available reports and am setting the Jump to settings of each text box in the list to take the user to the relevent report. But I am having a problem setting up drill down to reports with multivalued parameters.
What I want to happen when the user drills down is for the report to open up with no parameter values selected. This works for single value parameters where I have set Null as the default value. But I have not been able to figure out how to do this with MVPs. Does anybody know if this is possible?
As a workaround I have been using Jump to URL (rather than Jump to report), which has no problem opening the report without having to pass any values for the MPV. But I do not like using this as I use different DEV/UAT and PROD environments so would have to amend the URL for each environment.
Seems like this should be possible... Any idea?
Cheers, Mike
PS: I should add I can Jump to reports with MVP without specifying a parameter in development studio but not when the report is published.
OK, I'm pretty sure that the answer to my questions is "no", but the boss is pushing, and I thought I'd double check.
I want the selection of one report parameter to decide what shows up for another report parameter. Specifically in my case it has to do with dates. I have narrowed the results down to monthly dates, meaning that the starting dates always start with mm/1/yyyy and the ending dates are always mm/31/yyyy (for a 31 day month).
The boss wants the ending dates to always be >= the month of the starting dates. So, if the user choose 1/1/2007 for starting, the minimum ending date would be 1/31/2007, etc.. Since the parameters are loaded at report initiation, and SSRS isn't really event driven, I didn't think this was possible. I just wanted to make sure before I tell the boss that it's not. Please advise.
I have a fairly complex report that was given to me that was hard coded for single parameters. There is a dropdown for each market (created from a query in SSRS). The users have to run for each market each week.
Is there a way to use this report as a Sub-report inside a list of a master report and then use a mult-value parameter?
I want this multi-value parameter to build the values for the list and then run the "sub-report" for each value.
I am working on reports in SSRS 2008 (not R2)... There are some reports with parameters that are hidden when the report is accessed through normal URL using ReportViewer.asx..The thing is that these hidden parameters need to be visible when the report is accessed using SSRS Report Manager.
I am extracting RS reports through a WebService: report = execService.Render("EXCEL", null, out extension, out mimeType, out encoding, out warnings, out streamIds);
Some works fine but some are generating the following SoapException:
Error during processing of €˜ReportParameterTime€™ report parameter. ---> Error during processing of €˜ReportParameterTime€™ report parameter. ---> Error during processing of €˜ReportParameterTime€™ report parameter. I set required parameters to their default values. In this specific report I have two required parameters: 1: ReportParameterTime, String 2: ReportParameter1, String
I set them to their default values (ReportParameterTime to "[Czas].[Kalendarzowy].[Rok].&[2007]" - means Time Calendar Year 2007) but I am getting the exception above. I set parameters using this code:
Where parameterValues is a List<ReportExecution2005.ParameterValue>.
When I am using Microsoft.Reporting.WinForms.ReportViewer the report is generated without any problems. I can see one parameter to choose: "Kalendarzowy" (means adj. Calendar) and can select years, the default value is "2007".
What am I doing wrong and how can I fix this error ? Does anybody know ?
Hi, I'm having problems navigating from one report to another one if the second report has a multi-valued report parameter. When I navigate to the second report, I don't pass any parameters, but I get an error "parameter is missing a value" for the multi-valued report parameter. I have it setup as allow "multi-value" and "blank value". Any idea what the issue might be? Thanks.
I am designing a report which will be used under the subreport control of a master report, now i am using a stored procedure for the subreport which has two parameters.
In the subreports dataset parameters tab, how can i mention the master reports columns, since i do not see the master reports columns here. since it is a different report.
If i use a hardcoded select query then i can just say
select address, city, state, zipcode from customer where (customerid = @customerID)
but i am using a stored proc. how to define the parameters under datasets parameter tab.
I have a report parameter textbox in my SSRS report which has the parameter properties as "allow null value" and "allow blank value" checked.
How I can ensure that when the value is entered in textbox, it should accept any character ie. The SQL code I should write so that all the characters inputted via the report parameter are accepted.
I have a RDLC report in an aspx page. The report has a table one of whose data column has a hyperlink.
ServerName Date ProjectStatus
Srv1 01/10 Green Srv2 01/10 Red Srv 3 01/10 Green
and the second shows the detailed history per server,
eg for Srv1
Table 2 ServerName Date ProjectStatus
Srv1 01/10 Green Srv1 01/09 Green Srv1 01/08 Red Srv1 01/07 Red Srv1 01/16 Red
On click of the hyperlink a report parameter SelectedServerName is set to say Srv1 (1st row). The report is reloaded and Table 2's data set fetches the results only for Srv1 .
This works fine in RDL format.
But when i embed the report in an aspx page in RDLC format the Parameter value is not set even after clicking the link.
Hardcoding the value works fine
ReportParameter[] p = new ReportParameter[1];
p[0] = new ReportParameter("SelectedServerName", "Srv1");
ReportViewer1.LocalReport.SetParameters(p);
How do i pass the value of ServerName corresponding to the link clicked and refresh the report? in RDLC?