reporting-services

how to associate two fields

余生长醉 提交于 2019-12-25 01:55:52
问题 I have a report that looks like this: As you can see there's the yellow/orange bracket. I believe that I need the bracket to cover both fields like this: Because there's a 1:1 relationship between the two fields, and I want them to be displayed like this: Field1 Field2 Field1 Field2 How can I associate them together like this? Currently it's reporting this way: Field1 Field1 Field1 Field2 Field2 Field2 回答1: I would do this potentially as it may be simpler than getting into something already

RDLC Textbox Line Height/Line Spacing

白昼怎懂夜的黑 提交于 2019-12-25 01:48:16
问题 Version: http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition I've been looking for answers online on how to add line height or line spacing in RDLC textbox but to no avail. I also tried <p style="line-height: 1.5;"> but it is not working when exporting to PDF. To double check this, I created a simple html file and using this style I was able to achieve my desired effect. Anyway, the content of my textbox is dynamic so it could change in length. If this were fixed lines

To use a data region in a list, the list must have group expressions?

天大地大妈咪最大 提交于 2019-12-25 01:43:53
问题 Q: I'm trying to control the visibility of the report sections.So I use a List.Each list will contain : A text box as a title for this section. A Table for the data. If the Table has no rows ,I will hide the list. After assigning the data source name to the list and to the table. and trying to run. I get the following error. The table ‘.....’ is in a list that has no group expressions defined for it. To use a data region in a list, the list must have group expressions. How to fix this problem

Can I export Word document(*.doc) from Reporting Service by using free component? [closed]

落花浮王杯 提交于 2019-12-25 01:35:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm looking for some tool that can generate many document formats like Microsoft Excel, PDF, Microsoft Word, HTML. So, I decide to use Reporting Service of SQL Server 2008 Express. But I found that Reporting Service can't export to Microsoft Word by itself. It need to use some component. Moreover, I can't find

Error: “missing a mandatory child element”

半世苍凉 提交于 2019-12-25 00:55:18
问题 Following the steps from Lesson 5: Publish the Report Definition to the Report Server for SQL Server 2012, I have the following error: The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: The report definition element 'Report' is empty at line 1878, position 3. It

Can SSRS use pivot tables such like excel drag and drop

≯℡__Kan透↙ 提交于 2019-12-24 23:45:04
问题 Can SSRS do this?Here is an example of what I mean: http://demos.devexpress.com/XtraReportsDemos/DataBinding/PivotGridAndChart.aspx 回答1: You can make something like this, althought needs some work and it will have some limitations. 1. Make a query that will contain all dynamic data field names 2. Create as much row and column groups as the maximum the user needs (4 rows and 2 columns are good in my opinion) 3. Create a param for each row and column. Assign to it the dataset with field names.

I want to count the number based on a field injected

徘徊边缘 提交于 2019-12-24 23:21:03
问题 I am working on SSRS report. I have a report where the user inserts the login, start date and end date. I want to count the number of rows of WarantyColumn that have the value 1 for the user injected between start date and end date. Count(iif(Fields!TextField.Value=, Fields!TextField.Value, Nothing)) 回答1: Create a new column, let's call it warrantycolumncount . For this column, set expression as IIF(Field!warrantycolumn.Value = 1, 1, 0) This expression will set 1 where your condition matches

Error <Report xmlns='NonEmpty'> was not expected

不想你离开。 提交于 2019-12-24 22:27:26
问题 Following the steps from Lesson 3: Load a Report Definition from the Report Server for SQL Server 2012, I have the following error: System.InvalidOperationException was unhandled HResult=-2146233079 Message=There is an error in XML document (2, 2) . . InnerException: System.InvalidOperationException HResult=-2146233079 Message=<Report xmlns='http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'> was not expected. When I reached the last line: _report = (Report)serializer

SSRS conditional formatting column with alternating row highlighting and NULL handling

五迷三道 提交于 2019-12-24 21:33:26
问题 I have an SSRS report where I'm supposed to conditionally format a column red/green depending on if an expression is +/- 5% (less is good, so less is green). I also need to have the entire report have alternating row highlighting. I can get these to function correctly until I throw in some NULL handling. =Switch ( IsNothing(Sum(Fields!August2015.Value)),IIf(RowNumber(Nothing) Mod 2 = 0, "#d9d9d9", "Transparent"), (Fields!August2015.Value-Fields!CorporateAvg.Value)/Fields!CorporateAvg.Value >=

Cannot read the next data row for the dataset 'Dataset3',Conversion Failed when converting varchar value to datatype int

会有一股神秘感。 提交于 2019-12-24 21:11:10
问题 I am running a report with 3 parameters. The second parameter gets populated according to the value selected in the First parameter and the third parameter gets populated according to the second. I can select multiple values in 2nd and 3rd parameter. When I select 2 values in the second parameter the third one get populated and when I do SELECT ALL even then it works . But when I select 3 or more values it throws an error. An error has during local reporting Cannot read the next data row for