ssrs-2008

Check my SSRS report if it's empty from code

妖精的绣舞 提交于 2019-12-22 10:54:04
问题 I'm loading my reports that I have done using SSRS,by code(C#),but i need to check if report is empty or not!!! how can i get that?!! my code that Im using is: if (!string.IsNullOrEmpty(RptInstance.FileName)) { string ReportName = RptInstance.FileName.Replace(".rpt", ""); reportViewer.ServerReport.ReportPath = string.Format("{0}{1}", Settings.Default.ReportPath, ReportName); reportViewer.ServerReport.SetParameters(paramList); reportViewer.ServerReport.Timeout = Timeout; string mimeType,

isnull in SSRS expressions

旧时模样 提交于 2019-12-22 09:35:45
问题 How to use this formula in ssrs-expression =NOT(isnull({Command.AAID})) or NOT(isnull({Command.HDomain})) or NOT(isnull({Command.Adomain})) Thanks. 回答1: I think what you're trying to do is display data based on whether or not a field has data in it or not? You can always use an IIF statement with ISNOTHING. See below for the expression. =IIf(IsNothing(Field!Whatever),0,Field!Whatever) If that doesn't answer your question, let me know. 回答2: So to convert Crystal formula to SSRS-Expression ,

What is causing a scope parameter error in my SSRS chart?

限于喜欢 提交于 2019-12-22 07:54:09
问题 Why am I getting this error in my chart? (Chart Image) I am using this expression in the chart: Series: =Sum(Fields!Mins_Att.Value)/Sum(Fields!Mins_Poss.Value) Series 1: =Sum(Fields!Mins_Att.Value, "Chart2_CategoryGroup2")/Sum(Fields!Mins_Poss.Value, "Chart2_CategoryGroup2") and I am getting this error: The Y expression for the Chart has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal the name of group, data

Grouping in SSRS?

寵の児 提交于 2019-12-22 04:47:18
问题 i am new to the SSRS and Have data as below RCnt Jobnumber NJCT JD pmt flag cnt1 cnt2 2 001008 0 PRESSURE SEAL PSI Y 0 0 2 2 001008 0 PRESSURE SEAL PSI Y 0 0 10 2 001008 0 PRESSURE SEAL PSI Y 0 0 1 1 001009 0 Single Sheet Duplex Legal PSI Y 0 0 1 1 001009 0 Single Sheet Duplex Legal PSI Y 0 0 4 6 001010 0 Single Sheet Duplex Legal PSI Y 0 0 6 5 001011 0 Single Sheet Duplex Legal PSI Y 0 0 5 5 001011 0 Single Sheet Duplex Legal PSI Y 0 0 3 13 001012 13 Single Sheet Duplex Legal PSI Y 0 13 0 13

SSRS Reports - Hiding a Tablix doesn't shrink the space and move content after it up

隐身守侯 提交于 2019-12-22 04:39:50
问题 I have a tablix with another tablix beneath it with 0 space between the bottom of the first tablix and the top of the second. When I change the Hidden property of the first tablix to true, it hides the tablix with empty space but doesn't move the second tablix up. Is is possible to hide the first tablix and move the second tablix up? 回答1: Ah, just figured it out. Have to add both tablixes to the same rectangle. Then hiding the first tablix moves the second one up. 来源: https://stackoverflow

SSRS tablix column CanGrow property for width?

吃可爱长大的小学妹 提交于 2019-12-22 01:24:14
问题 I'm working on a tablix in SSRS 2008 and want my columns to autosize (width only) to their contents. CanGrow only affects height. Is there a property I'm missing or any way to otherwise rig the columns to do this? 回答1: I've been trying to do that myself (client side), without success. There is no property that would autosize the column width. Check out this workaround: http://blog.sharepointalist.com/2009/05/ssrs-column-width-auto-size.html (I haven't tested it) The best workaround I've found

how to properly display SSRS site within iframe

浪尽此生 提交于 2019-12-21 21:13:39
问题 I have been working on a project where I need to load a ssrs site within an iframe. The iframe is acutally using the telerik spitter panels but the DOM refers to it as an iframe when rendered. The issue I am coming into is when referencing the SSRS site it loads wihtin the iframe but the view tiled multiple times over. In reading I have seen mention that the SSRS site also uses iframes which causes an issue when loaded into another iframe. Does anyone know of a solution for this type of

SSRS Export to Excel Hide/Unhide Issue

我与影子孤独终老i 提交于 2019-12-21 20:29:26
问题 I have an SSRS 2008 report where in I have to hide some columns & export to excel and after exporting to excel, the requirement says that the columns should be unhidden in the excel. Please suggest a way to do this as I heard this can't be dont at all. Thanks in advance!! 回答1: It can be done, but I believe only when deployed to a SSRS 2008 R2 Server. That is how I am using it now. The way you do it is you use a conditional "Hidden" property on the columns that is set to the following: EDIT:

User mycomputer\myloginName does not have required permissions

﹥>﹥吖頭↗ 提交于 2019-12-21 18:38:02
问题 I am trying to access the report manager url for SSRS. But, I keep on getting the error below - User mycomputer\myloginName does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed. I tried to run my browser as admin as described here - User '' does not have required permissions, SSRS 2008 on Windows 8 with no success. I also don't see the 'site settings' on top-right corner as mentioned by

Change labels “True” and “False” of a boolean parameter

巧了我就是萌 提交于 2019-12-21 17:19:26
问题 I have a boolean parameter in a business report. If I use this parameter it shows at the parameterbar with the labels "True" and "False". Can I change the values without resorting to another parametertype (integer i.e.)? 回答1: Yes, this can be done by setting Available Values for the report parameter: However, this does change the input from radio buttons to a dropdown. Refer to this MS Connect issue for info on that bug as well as an apparent workaround. 来源: https://stackoverflow.com