ssrs-2008

Conditional Action in SSRS

大憨熊 提交于 2019-12-10 01:52:36
问题 I want my textbox to have an action ONLY if the condition is true, otherwise no action. This is what I have as my current action expression for going to another report: =IIf(Fields!MyTextbox.Value = "0", "Report2","") This does not produce my desired result. It gives the textbox an action regardless of the condition result. Is there a 'No Action' or 'Cancel Action' value? 回答1: The null keyword in VB is Nothing : =IIf(Fields!MyTextbox.Value = "0", "Report2", Nothing) 来源: https://stackoverflow

SSRS only displaying first row

此生再无相见时 提交于 2019-12-10 01:21:22
问题 I have a very basic report in SSRS that displays a grid of data. The query correctly returns multiple rows but the report only displays the first row. The query is as simple as SELECT * FROM... I dont have any special formatting and the tablix is in the details part of the report, not header or footer by accident. What else can I check? 回答1: The tablix was missing a row group. 回答2: A similar issue is driving me nuts. I created a report manually from scratch in VS2012, threw a tablix on it and

Dynamically create filename in SSRS 2008

不打扰是莪最后的温柔 提交于 2019-12-09 15:12:18
问题 I have been asked a couple times to change the file name dynamically in SSRS 2008. Example: ReportName_201101.RDL. The 201101 represents the execution date. Can this be accomplished in SSRS 2008? 回答1: If you mean the filename when you export the report and also happen to be pulling it from the ASP.NET ReportViewer, you can set the name through the DisplayName property. ReportViewerControl.ServerReport.DisplayName = "ReportName_201101"; or (if ProcessingMode is Local): ReportViewerControl

Copy and paste a table (tablix) in SSRS

不羁岁月 提交于 2019-12-09 14:02:16
问题 I have a tablix that has data for one day, and I need to have the same data at the bottom but in 3 different lines. I'd like to copy the main day table 3 times at the bottom, and then use different datasets for each one. I tried copying the tablix and pasting it into the Body beneath the tablix, but I get the following error: Report Builder was unable to paste successfully. How can I accomplish the copy and paste? Or if that isn't possible, is there another way to do what I am trying to

Report Builder 3.0 - Dataset Credentials Do Not Work

你说的曾经没有我的故事 提交于 2019-12-09 09:18:38
问题 I am using SSRS 2008 R2 and Report Builder 3.0. I set up a shared data source via the browser (http://myserver/reports/) wherein the "credentials are stored securely in the report server" to use with multiple reports. Testing the connection via the browser works. Now, I fire up Report Builder 3.0. I start a new report and "Add Data Source". I select the "Use a shared connection", browse to the server, and select the above data source. Click "Test Connection" and all is well. I then try to

Add column to SQL query results

主宰稳场 提交于 2019-12-09 08:12:12
问题 I'm putting together a report in SSRS. The dataset is populated with a SQL query of an MS SQL server. It's querying several similar tables using Union All. The problem is that there's some information loss. The different tables are for different worksites, but none of the columns in those tables has the name of the site; the only way to identify a site is by the table name. In the combined columns which are the result of the Union All, there's no way to tell which rows come from which site.

SSRS the definition of the report is invalid

我们两清 提交于 2019-12-09 07:23:41
问题 How can I resolve the below error message that I receive when I try to deploy my report to our our Reporting Server using BIDS ? Message: Error : The definition of the report '/OrderAnalysis' is invalid. Report Element: <Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition"> 回答1: I just received

format number in ssrs report

时光怂恿深爱的人放手 提交于 2019-12-09 05:32:47
问题 argh! Can't stand it that i can't figure it out myself.... i've used this in the formatting of a number in my report: '€' #,0.00;('€' #,0.00) and that formats to € 1,212.89 which is not exactly what i want, because i want € 1.212,89 regardless of the regional setting of the server. So i tried this '€' #.0,00;('€' #.0,00) but that gives me this: 1.212.890 Typing this i realize that i don't know what the # and the . and the , mean in the format string..... 回答1: You can find the definition of

How to supress empty subreports in SSRS 2008

穿精又带淫゛_ 提交于 2019-12-09 04:52:00
问题 I'm creating a 'master' report in SSRS 2008 that collaborates other reports about a person. Sometimes not all of the other reports are relevant and as such return nothing. I'd like to be able to exclude this from the master report so it does not leave a blank page. I'm aware of the 'no-rows-message' feature, but a whole page with simply "Not applicable for this person" is hardly the best solution! Essentially I'm looking for a way to determine if a subreport is 'empty' and use that in a

SSRS Report Colours change when exporting to excel

末鹿安然 提交于 2019-12-08 19:21:02
问题 When we export an SSRS 2008 report to excel and then copy a range from that file to another excel file, the colours used in the report are changed to something that is totally different, very annoying when we use 'Conditonal Formatting' to colour some of these cells a specific colour. Any ideas why? 回答1: It is because MS started using Excel's custom color palette with SQL Server 2008 instead of the built-in colors. Problem is exactly as you are describing that when copy & pasting colors from