reporting-services

SSRS - Conditional Text Formatting (Expressions using Switch)

倖福魔咒の 提交于 2019-12-12 13:35:09
问题 I will open this up by stating that the expressions do work within the report. The problem is they aren't working together. I currently have a column header formatted based on the values of two columns. Italics and underlined based on the value of Column1. Bold and a specific color based on the value of Column2. I am doing this by using Switch expressions in the text properties. Here is what I have for each: =Switch(Fields!Column1.Value <> "Specific Value","Italic",Fields!Column1.Value =

Reporting Services: Overriding a default parameter with an expression in a linked report

心已入冬 提交于 2019-12-12 13:16:29
问题 So I've got a "daily dashboard" report in SSRS 2005. It has a parameter, @pDate, which defaults to "=Now". I'd like to use this same report in a linked report to show yesterday's final dashboard (which would then be mailed out via subscription), and override the parameter default with another expression, "=dateadd(d,-1,Now)." But when I change the default parameter, I get a data mismatch error (natch). I'm assuming that's the end of the line and I just need to deploy a copy of the daily

SQL Reporting Services - COPY reports to another folder

白昼怎懂夜的黑 提交于 2019-12-12 13:06:29
问题 This is stupid that I can't figure out how to do this. I'm in the SQL Reporting Services Report Manager website. I have some reports in a folder. I want to copy those reports to a different folder so that I can point those reports to a different datasource. I still need the original reports in their original folder, pointing to their original datasource. It's very easy to select reports via checkbox and use the Move functionality, but there doesn't appear to be a way to copy? Any ideas. 回答1:

SSRS - OutOf MemoryException - is there a limit to the number of rows that can be displayed

泄露秘密 提交于 2019-12-12 12:14:54
问题 I have created an rdl doc that points at a proc that returns 90 000 rows and I am getting an out of memory exception. Is there a limit to how many rows the report projects can handle? Currently I have changed the proc that drives my report to just do a select Top 90 000. My specs are to be able to create a report with 120 000 rows. My report is a matrix. I swear last week I generated a report that has 106800 rows in it but now all of sudden I can't. I have written a rendering extension and

SSRS - RDLC Tablix Rows will not split across pages

本小妞迷上赌 提交于 2019-12-12 12:07:45
问题 I have a tablix with two columns of data (the section name and the section text). The section text has grown so large for some sections that the row representing the section takes up 2/3 or more of the page. THe report prints fine until on of these large rows would have to split over the end of a page and continue on the next page. In this case, and only in this case, the rows leaves large amounts of white space on current page and start on the next page (as if it had a page break before it)

Microsoft.ReportViewer.*.dll's are not showing up in references (v11 or 12)

核能气质少年 提交于 2019-12-12 12:07:34
问题 I have been working with RDLC reports using the ReportViewer.Common & ReportViewer.Web/WinForms dlls, version 10. The files produced by these dlls are a lot larger than those generated on a server instead of locally so I thought I would update the DLLs to v12. I downloaded and installed the 2012 redist: http://www.microsoft.com/en-gb/download/details.aspx?id=35747 However the dlls do not show up in the add references box - I can see version 8 and 10 in there but not 11 or 12 - all 4 versions

SSRS and PowerShell: Get report as Excel

邮差的信 提交于 2019-12-12 11:55:14
问题 I'm trying to make PowerShell send a web request to our SSRS server and capture the results. I've hit a wall using the rs:FORMAT=EXCEL parameter in the SSRS url string. I have the following: First, init the credentials: $User = "MYDOMAIN\MyUser" $PWord = ConvertTo-SecureString -String "WooHooStringP$W0rd" -AsPlainText -Force $c = New-Object –TypeName System.Management.Automation.PSCredential –ArgumentList $User, $PWord Now, request a report: Invoke-WebRequest ` -UserAgent ([Microsoft

Report Builder/SSRS and RDLs - HTML <img> support?

懵懂的女人 提交于 2019-12-12 11:34:54
问题 I'm completely new to SSRS so apologies if this is a silly question. I have an RDL with a HTML placeholder however if I pass an <img> tag in the dataset this does not render. I see on this Technet article that there is a list of supported tags, which unfortunately doesn't include <img> . I've been able to add an image with an external source based on an expression which uses a dataset field so it seems a little strange that you can't use images in HTML placeholders. Is there a workaround for

Create a dataset which is a subset of another dataset in SSRS

℡╲_俬逩灬. 提交于 2019-12-12 11:25:31
问题 In my SSRS report, I already have a dataset A(by running a SQL script), and parameter P1 use all the records in A. Now I want to get a subset of A, and use another parameter P2 to refer to it. Is it possible that get the whole and the subset of the dataset at the sametime and only run the script once? I guess creating a shared dataset is a possible way, but the dataset A is just for locally use and shouldn't be shared. 回答1: Short answer No, it is not possible. Alternative You can modify your

SQL Reporting: Null Parameter

99封情书 提交于 2019-12-12 11:04:51
问题 I have discovered that in SQL Reporting there might be a problem. I have a ReportViewer on my page and I am sending in parameters using the following method: List<ReportParameter> myParams = new List<ReportParameter>(); myParams.Add(new ReportParameter("Start_Date", StartDate)); myParams.Add(new ReportParameter("End_Date", EndDate)); ReportViewer1.ServerReport.SetParameters(myParams); This works great! But, when I try to set a parameter to null, after running that query, it maintains the