reporting-services

Divide by zero error in SSRS Report

北战南征 提交于 2019-12-11 13:17:49
问题 I am writing a report in SQL Server 2005 Reporting Services, involving the division of money values that might be equal to zero. I put the following code in to check for a zero denominator: =IIf(Sum(Fields!PreviousPremiumMTD.Value) = 0, "N/A", FormatPercent((Sum(Fields!PremiumMTD.Value) / Sum(Fields!PreviousPremiumMTD.Value))-1, 0)) However, for some reason I am still getting #Error displaying on my report with the following warning thrown: [rsRuntimeErrorInExpression] The Value expression

SSRS reports rendering strangely in IE 9

流过昼夜 提交于 2019-12-11 13:14:07
问题 I have noticed some odd behavior in my reports when viewed in IE9. The right side is sort of cut off: I've tried setting AsyncRender to true and false and get the same result. The report looks fine and dandy in Safari, Chrome, and Firefox. The report size is 8.5 x 11. Is there some other option I need to set to get this thing to render properly in IE? 回答1: What I wound up doing was changing my meta tag from <meta content='IE=9,IE=10' http-equiv='X-UA-Compatible' /> to <meta content='IE

Get a row group and column group value in an SSRS Matrix detail cell

混江龙づ霸主 提交于 2019-12-11 13:13:36
问题 I have a matrix in an SSRS report, where the column group and the row group are based on the same dataset. So the same values appear in the column and row headers. The dataset includes a percentage value and I want to show the difference between the row and column percentage values in the detail cells. How do I get the percentage values for the column and row group to calculate the difference? For example, If the data looks like this: Group 1, 30% Group 2, 5% Group 3, 10% Then here is what I

handle this object datasource on reporting services

二次信任 提交于 2019-12-11 13:08:26
问题 If I had a class defined with this attributes public class GestionesDataSet { public DateTime GestionInicio { get; set; } public DateTime GestionFin { get; set; } public Nullable<DateTime> LlamadaInicio { get; set; } public Nullable<DateTime> LlamadaFin { get; set; } public string Login { get; set; } public string Tipificacion { get; set; } public List<CamposGestion> campoValor { get; set; } } And the class called CamposGestion is defined like this public class CamposGestion { public string

How to connect Visual Studio to a specific dynamics ax environment

天涯浪子 提交于 2019-12-11 13:01:53
问题 I would like to connect my Visual Studio against different dynamics ax environments. In particular the following two: Development Environment Production Environment The purpose is to develope SSRS reports. In the production environments there are some reports which are not available in development and it would be complicated to create them. Not meaning that I'm going to develop against production (who would do such a thing?! ;-) ). I found a tutorial which shows how to connect to a specific

SSRS Report Iterating Over Multiple Parameters

对着背影说爱祢 提交于 2019-12-11 12:57:37
问题 I have a report that has multiple cascading parameters, which works quite well out of Report Manager. I would like to create a version that will take a single parameter, and iterate over every parameter down the line. As an example, suppose parameters such as state, county and city. If we pass in a state (ie Florida) the report would have multiple pages for each county, each page consisting of one city in that county. The object is to email monthly reports to stakeholders in each state, with

how to include an ssrs expression and an indicator in the same cell

谁说我不能喝 提交于 2019-12-11 12:46:21
问题 I would like to include an expression and an ssrs indicator based on the same expression in the same cell of a table. I have tried doing the approach in the link shown : http://social.msdn.microsoft.com/Forums/en-US/f5f19834-ba37-410c-bb7e-179807dfefea/indicator-value-in-same-cell?forum=sqlreportingservices but the borders for that cell become invisible when I preview the report. Please let me know if there is any other good way to do this which doesnt effect the borders. my expression looks

Want to show dynamic image in SSRS report

拥有回忆 提交于 2019-12-11 12:41:16
问题 I need to work on report in SSRS. I need to add one image for particular customer. The image is stored at shared location. I have path to access that image, that path i will get from one of the field from the table which is dynamic(every customer having diff path ie image), so i want to access that image through this path which is present in field. so anybody can help me get through this. Thanks, AB 回答1: You should set External the image source field, then set your expression, for example:

How to know if a report is already printed in SSRS?

≡放荡痞女 提交于 2019-12-11 12:33:32
问题 The user of my report would like to know if the report has already been printed? If the report has already been printed then the user would like to see a message that the report has already been printed previously on the report next time the report is generated. what is the best way to achieve this? Thanks in advance. 回答1: There is no official documentation on how to achieve this, but I there could be a way of doing this. The ExecutionLogStorage table contains information about reports

SQL Server Report Builder Number Formatting

a 夏天 提交于 2019-12-11 12:33:28
问题 I am creating Reports in SQL Server Report builder. When I set format of any number fields, in design it is displaying sample value. For e.g. If I set format 0.00 to one numeric field, it started to display 12345.00 I have 10-12 fields in design, it caused very much confusion. Is there any solution to change this? When I open report in Visual Studio, it doesn't display like that. Check Following screenshots: In Report Builder: In Visual Studio: 回答1: Finally, I got solution: There is option in