reporting-services

how to using IN operator in ssrs expression

我的梦境 提交于 2020-01-16 05:47:04
问题 First of all sorry about my english. I want to use in ssrs in tablix-fields expresion something like this: =iif(CStr(Fields!Id.Value) in Split(Parameters!IdListStr.Value, ","), Fields!Sum, "") where Parameters!IdListStr.Value = "1,2,3". is it possible? 回答1: You can add the filter on the dataset using the below values, Expression := Fields!Id.Value Operator := In Value:= Split(Parameters!IdListStr.Value, ",") And if you dont want to filter out the records from the dataset then you an use the

SSRS report subscription not working sometime

可紊 提交于 2020-01-16 04:37:04
问题 We have created 10 to 12 SSRS reports and created subscription for the reports. Sometimes the status of the subscription is showing mail sent but actually we have not received any email. What may be the issue here. 回答1: Check the logs on the SMTP server (if your current logging level is not enough, consider logging more information ala http://www.msexchange.org/tutorials/Logging_the_SMTP_Service.html). You might find the mailbox is full or there was some other mail problem, that is not

how to set Reportviewer controls report server Url and report path properties in asp.net

纵饮孤独 提交于 2020-01-16 04:10:09
问题 I m trying to use ReportViewer control in VS2013 to display a report from a SSRS server. The full path to the report URL is like below and I can access report by typing the path in browser http://vm-xx-xxxx/Reports/Pages/Report.aspx?ItemPath=%2fname+xxx+And+xxx%2fWorkOrder+UAT I have tried various combinations to set the ReportServerUrl and ReportPath properties but nothing seems to work. e.g. ReportPath="/Reports/Pages/Report.aspx?ItemPath=%2fxxx+xxx+And+xxx%2fWorkOrder+UAT and the

Hide space between elements of a report

好久不见. 提交于 2020-01-16 00:34:25
问题 I have one report with various subreports. These subreports are within a table cell. When the subreport doesn't have any data available, I hide the components (tables, textbox, charts) in that subreport. However, this creates some blank space and I need to eliminate this space. I already used the properties ConsumeContainerWhiteSpace and KeepTogether , but the blank space is still there. Any suggestions to remove the blank space? 回答1: To hide or show an entire row based on another reports

Controlling Sorting in SSRS Based Upon a Database Text Field

不问归期 提交于 2020-01-15 12:33:46
问题 I've been trying to find a way to even search for this without much luck. Basically, I've got a text field in a table. All I'm trying to do is check if that text field contains a particular string, in this case, if this field contains either "OLD", "OBSOLETE", or "FOM" and then move it to the very bottom of the list, leaving everything else sorted normally. Is this possible? I'm trying to do this without hitting the SQL Statement itself too much if at all. 回答1: You can do this by using a

Range parameter on the MDX-query

我只是一个虾纸丫 提交于 2020-01-15 11:07:53
问题 I have a correct MDX-query: SELECT NON EMPTY { [Measures].[IssueOpened] } ON COLUMNS, NON EMPTY { ([Projects].[Id].[Id].ALLMEMBERS * [Priorities].[Id].[Id].ALLMEMBERS ) } ON ROWS FROM [Reports] WHERE [CreatedOn].[Date].&[2010-01-01T00:00:00]:[CreatedOn].[Date].&[2010-02-01T00:00:00] I need to create SSRS-report with filter on CreatedOn dimension. Here is my non-working solution: I transform query to: SELECT NON EMPTY { [Measures].[IssueOpened] } ON COLUMNS, NON EMPTY { ([Projects].[Id].[Id]

SSRS Error - "Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate

最后都变了- 提交于 2020-01-15 10:33:58
问题 I'm new to SSRS and I'm not sure if it will do what I would like to do. I'm getting the following error in SSRS: "The Value expression for the text box 'Textbox17' refers to the field 'DayCnt'. Report item expressions can only refer to fields withing the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case." I have a list that's 3 rows and 3 columns. I need to use multiple data sets across the rows and columns.

BIRT report viewer - custom error reporting

佐手、 提交于 2020-01-15 07:10:31
问题 We have several reports and several applications feeding the reports with data. We use BIRT Report Viewer 2.3.2 to display the reports. Thing is, when an application is unreachable the BIRT Report Viewer displays an error message box titled "Exception" with the exception header, the link to expand the stack trace, and two buttons, ok and cancel. For these kind of exceptions i would like a friendlier message saying something like "Application X is reloading, please wait a few minutes and try

How to import SSRS shared datasets and data sources directly into BIDS 2008?

社会主义新天地 提交于 2020-01-15 03:11:11
问题 Using: SSRS Report Server 10.50.1600.1 BIDS Visual Studio 9.0.30729.4462 (from remote client on same domain and network; not local on SSRS server) I'd like to be able to add existing shared data sources and shared datasets that live on my report server to my BIDS project on my local workstation. I know I can create a shared resource from a BIDS instance, and deploy it to the SSRS server. I can also do the same via Report Builder 3.0; deploy or publish from either application, then navigate to

How to stop Reporting Services report from rendering automatically on startup?

耗尽温柔 提交于 2020-01-14 21:47:48
问题 I notice that if a report has default values specified to all its parameters then it renders automatically on startup. How can I prevent this? that is, I don't want the report to be rendered until the user clicks the 'view report' button 回答1: There is no way to stop the report rendering if all parameters have default values. The only way to stop the report rendering automatically is to have at least one parameter without a default value. 回答2: I have achieved from the below solution: If you