reporting-services

SSRS Count Occurances based on multiple columns

穿精又带淫゛_ 提交于 2019-12-25 02:58:35
问题 I have a dataset which returns data in the following format; StartDate | EndDate | Resource | WBS yyyy-mm-01 | yyyy-mm-07 | John Doe | ABCD yyyy-mm-01 | yyyy-mm-07 | John Doe | EFGH yyyy-mm-01 | yyyy-mm-07 | Jane Doe | ABCD yyyy-mm-01 | yyyy-mm-07 | Joe Blogs | IJKL yyyy-mm-08 | yyyy-mm-14 | John Doe | ABCD etc How can I count the occurrences of the startdate, enddate and resource only (not the wbs), and have that count display on each row - so that i can use the count to calculate the

Suggest correction in code to render report

*爱你&永不变心* 提交于 2019-12-25 02:48:15
问题 I was suggested the following code to programmatically render SSRS report in PDF format. I tried it but it is not working. Can any body suggest what might be required? Thanks Dim format As String = "PDF" Dim fileName As String = "C:\Output.pdf" Dim reportPath As String = "/[Report Folder]/Invoice" ' Prepare Render arguments Dim historyID As String = Nothing Dim deviceInfo As String = Nothing Dim extension As String = Nothing Dim encoding As String Dim mimeType As String = "application/pdf"

SQL Server Report Builder: Hiding Tablix Rows based on value in Subreport

∥☆過路亽.° 提交于 2019-12-25 02:47:55
问题 I am not too familiar with SQL Server Report Builder and have had prior experience with Crystal Reports, whereby you could declare a variable in the header of the report, set that variable using a sub-report, and then reference that variable in the main report, so I am having issues adapting to SQL Server Report Builder. I have a tablix that displays data. In one of the tablix columns I've embedded a sub-report. I would like to hide the tablix row based upon a value surfaced by the sub-report

SSRS - Sort by number part of string

别来无恙 提交于 2019-12-25 02:47:07
问题 I have an SSRS report that will be used in Dynamics 365 so I can't use SQL in the dataset to help here. I have a product/version code column that is string mixing letters and numbers. For example: FF8, FF9, FF10, FFA These are going in to a column header and form a column group which is also sorted by the code. The standard alphabetical sorting is giving this order: FF10 - FF8 - FF9 - FFA I'm happy to use a substring in my sort expression to remove a preceding product code but I would like

SQL Server Report Builder: Hiding Tablix Rows based on value in Subreport

南楼画角 提交于 2019-12-25 02:47:05
问题 I am not too familiar with SQL Server Report Builder and have had prior experience with Crystal Reports, whereby you could declare a variable in the header of the report, set that variable using a sub-report, and then reference that variable in the main report, so I am having issues adapting to SQL Server Report Builder. I have a tablix that displays data. In one of the tablix columns I've embedded a sub-report. I would like to hide the tablix row based upon a value surfaced by the sub-report

Passing Connectionstring as parameter in SSRS through URL

拜拜、爱过 提交于 2019-12-25 02:37:30
问题 I am working on an application using Classic ASP and SQL Server 2008 R2. We are using SSRS for the reports. Now the datasource changes depending on the user. I have been using a parameter for the connectionstring. It is working fine but the problem is the connectionstring shows in the URL. Is there a way to hide it? Or is there a better way. Please Help. 回答1: Yes - change the method on your form to POST and use the Request.Form syntax instead of Request.QueryString : <form id="myForm" method=

find the difference between two columns in an ssrs matrix

老子叫甜甜 提交于 2019-12-25 02:25:00
问题 I have the following ssrs matrix that I am building : Month(Column) Sales(Rows) SalesData (Data) My data looks something like this : Jan Feb March Sales 10 3 9 What I would like to do now is to find the difference between each of the rows to show something like : Jan Feb March Sales 10 3 9 #change -7 6 In an ssrs table its a simple expression . I do not know how I need to do it in a matrix since the Months Columns are generated dynamically Please direct me.. Just wanted to add this to clarify

Show different group header and footer per section

孤人 提交于 2019-12-25 02:22:37
问题 Can anyone tell me how to show SSRS group header and footer in SSRS 2008R2? The idea is to have an approach like in Crystal Reports, where we can add a group header/footer and do our own design in that section on every page based on page break functionality. Does anyone know an approach for this in SSRS? I should be able to show my own design/controls/dataset fields group header area, and be able to see it on every page based on the page break by group. Would also appreciate if you can share

SATO Label Printer - Inconsistency Between Printers

笑着哭i 提交于 2019-12-25 02:18:57
问题 We use SATO CL412e printers to print labels (3x7), with the label coming from a local SSRS report. Until recently, this setup worked without issue. A few months ago we modified the label, and implemented (new implementation) at one site (Site A). Then a few weeks ago, we pushed the change out to another site (Site B) that had previously been using this label (old version). Since we did this, the label at Site B is... weird. The barcode is quite clearly not right, and all the normal characters

Use Explicit Worksheet Names when an SSRS 08 RDL Renders in Excel

主宰稳场 提交于 2019-12-25 01:59:52
问题 My SQL Reporting Service 2008 .rdl file contains a subreport within a rectangle with a forced page-break before it. When it renders in Excel it defines a page break as a worksheet break so it creates the subreport content in a separate worksheet of the Excel Workbook .xls file. How can I name each worksheet? I do not want them to be Sheet1 and Sheet2. 回答1: You can set the "PageName" property on an object e.g. a rectangle http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design