reporting-services

SSRS: Dataset2 not showing data inserted in Dataset1

99封情书 提交于 2019-12-13 01:53:51
问题 I have two datasets namely Dataset1 and Dataset2. Dataset1 is a query type of "Stored Procedure". The sp "TestProcpk" is selected and parameter "value" is mapped to it. TestProcpk query: Create procedure TestProcpk @value varchar(20) as insert into testProc select @value Dataset2 uses the above table as below (Dataset2 fields are used in the report display): select value from testProc where value = @value Expected Note: table "testProc" is empty. While running the report I select parameter

How to update a stored procedure in a shared dataset used by multiple report projects at once?

倖福魔咒の 提交于 2019-12-13 01:34:20
问题 Situation: We can use the same shared dataset in different SSRS projects. We can deploy updated shared dataset to the same location on the web from multiple different projects. This is ok. The problem: If we update shared dataset for one project (changing stored procedure that it uses) - how will we know where else in another projects the same dataset is used and needs to be updated. We don't know how to update shared dataset in all projects at once so they all use the same stored procedure

Report Viewer: Set null value to Report Parameters having allow null true

爱⌒轻易说出口 提交于 2019-12-13 01:25:43
问题 I have a Report Viewer Control in my Web page which is responsible to show all the reports. I want to get the parameters of the report and check if the parameter has allow null property true then I want to pass the parameter value to null. For this I have tried below code but I am getting AllowBlank property as false for all the parameters: ReportParameterInfoCollection defaultParams; List<ReportParameter> reportParams = new List<ReportParameter>(); defaultParams = ReportViewer1.ServerReport

SSRS Total of IIF with SUM

本秂侑毒 提交于 2019-12-13 01:16:44
问题 I have two column groups, they have their individual row totals, calculated by Sum(Fields!ColumnGroup1.Value) and Sum(Fields!ColumnGroup2.Value) I then have a column that shows the difference between the two sums, but only if their total difference is bigger than 0 =IIF( Sum(Fields!ColumnGroup1.Value) - Sum(Fields!ColumnGroup2.Value) > 0.00, Sum(Fields!ColumnGroup1.Value) - Sum(Fields!ColumnGroup2.Value), 0.00) Now the row contains my two column groups, their totals and their differences if

italicize text of a particular row in a group of a matrix in SSRS

99封情书 提交于 2019-12-13 00:55:52
问题 I have created a SSRS 2008 report.I have created a matrix.I want to make one of the rows text to be italic based on condition in row group.I tried with below expression in font style of row group. iif((Fields!Client.Value)="abc" ,"Italics","Default").But it is applying to all the rows in that group. Can anyone help me how to italicize text of a particular row in a group . 回答1: I have just tried the following successfully in SSRS2005 - so think that it should also work for you. In Fontstyle,

SSRS Sum Values Based on Earliest Date

微笑、不失礼 提交于 2019-12-13 00:54:35
问题 I'm trying to sum a net balance based on the earliest date in an SSRS report. In this case there are only 2 dates, but there can be more dates not more than 7 days. Here's a sample of my data: Here's what I'm trying to get with the earliest date of 10/26/15: I've tried the following code, but not able to get this to work: =Sum(IIf(DateDiff("d",Fields!SettleFullDate.Value,today())>=7 and DateDiff("d", Fields!SettleFullDate.Value, today())<7 and Fields!SETTLEBALANCE.Value>0), Fields

SSRS 2005 Send One-time Report via Email via SOAP API

和自甴很熟 提交于 2019-12-13 00:45:50
问题 I have an MVC 5 application that gathers parameter information and invokes the SSRS Report Execution Service SOAP interface to generate the report and download it to the user as an Excel spreadsheet. For longer-running reports, ideally, I would like to include an email address in the report execution call so that SSRS will accept the request, run the report asynchronously, and then deliver the result as an attachment to the email address included in the request. Most information I found

SSRS 2008 R2: How to apply filtering on Excel columns while exporting report(.rdl)

时光毁灭记忆、已成空白 提交于 2019-12-13 00:43:35
问题 SSRS 2008 R2: I have created a report(.rdl) using Shared datasource. I am following the tabular approach to generate the report. While exporting the report to excel I need to apply the filters to all the columns, so that the generated excel will have the filtration in its columns. But I am unable to find any option with respect to it. Current Generated excel Expected Generated excel Please let me know in case of any other information is required. 来源: https://stackoverflow.com/questions

SSRS 2008 - Sending report as email

青春壹個敷衍的年華 提交于 2019-12-13 00:34:46
问题 What I want to do is render a SSRS 2008 report as HTML (actually MHTML) and send that as the body in an email. Has anyone done this? I've almost got it (I think) but I seem to have a encoding problem. The email shows up as what looks like some sort of base64 encoding. Like this: MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_01C35DB7.4B204430" X-MSSQLRS-ProducerVersion: V10.0.2531.0 This is a multi-part message in MIME format. ------=_NextPart_01C35DB7.4B204430

SSRS report to display Outlook type calendar - People x Days x Activities

↘锁芯ラ 提交于 2019-12-13 00:26:22
问题 I am after a pattern/view/opinion/tip/weblink from an SSRS/SQL expert on how I might create a report that enables me to list something like the following: [----Person----] | [29-Sep-11] | [30-Sep-11] | [01-Oct-11] | [02-Oct-11] | [03-Oct-11]... and so on... Bob Bobertson | Activity A | Activity B | ----Empty--- | Activity C | ---Empty--- | Rob Robertson | Activity D | Activity E | Activity F | Activity G | ---Empty--- | ...and so on... Date columns are dynamic - example, 10 days on from today