ssrs-2008

how to subtract adjacent columns in an ssrs matrix

感情迁移 提交于 2019-12-02 04:19:21
I have an ssrs matrix which looks like the one below : Month(Columns) Product(Rows) Sales(Data) The output looks something like this : June July August Sept Oct ABC 34 34 23 22 67 DEF 33 21 32 22 14 I want an output that looks like this : June July June-July Aug July-Aug Sept Aug-Sept Oct Sept-Oct ABC 34 34 0 23 11 22 1 67 45 DEF 33 21 12 32 11 22 10 14 8 I tried doing something like this : Month(Columns) Change Product(Rows) Sales(Data) Expression The expression looks something like this : =Sum(IIF(Fields!MONTH.Value=Fields!MONTH.Value,Fields!Products.Value,Nothing))- Sum(IIF(Fields!MONTH

Getting a strange error when Try to save a SSRS report

房东的猫 提交于 2019-12-02 04:16:01
Hi I have created a report in SSRS and I have been saving changes as I was building the report now right before the end I made a few more changes and now when I try to save the report it gives me this error message "Attemped to read aor write protected memory. This is often an indication that other memory is corrupt", any idea what is going on any suggestions please ??? Additional Information about the machine I am working on, Windows 7, SQL Server 2008 R2 , and SSRS 2008 R2, I have 12GB Ram, and some 3.5Ghz Processor. Cant really see how its getting short of Memory from anywhere ??? Any

Invalid column name “USER_SOURCE”

回眸只為那壹抹淺笑 提交于 2019-12-02 04:06:30
问题 I have a stored procedure which is returning a result in an xml @Data output parameter To assign data in xml code is SELECT @data= ( SELECT DISTINCT CONVERT(varchar(2),u.USER_SOURCE ) + '~' + CONVERT(varchar(20), u.[USER_ID]) + '-' + CONVERT(varchar(10), u.DEALER_ID) as USER_DEALER_ID FROM #users u FOR XML RAW('users')) When I exec the procedure in SQL Server Mgmt Studio, I can see the result OK. This procedure is been called from another procedure, and that parent procedure is used in SSRS.

Exporting Conditional Borders to Excel in SSRS

China☆狼群 提交于 2019-12-02 04:04:05
I have a simple SSRS report with a Tablix and various groupings (1 column grouping, row groupings below) Groupings: Group 1 -- Group 2 ---- Group 3 ------ Group 4 -- Adjacent Group 2 ---- Adjacent Group 3 I am trying to implement a conditional border and while it works exactly as intended in Dev, after deployment and even exporting to PDF however, when I export to excel (where it needs to be) it does the following: The first Group1 grouping displays the border in the correct position (between group 4 and Adj Group 3) however, when exported this is the only grouping that appears correctly. The

Reporting Services expression gives error in some circumstances

偶尔善良 提交于 2019-12-02 03:49:27
问题 I am getting an error when computing averages in summary line of a report. My expression looks like this: =IIF(SUM(Fields!column3.Value) > 0, Format(DateAdd("s", (SUM(Fields!column4.Value) / SUM(Fields!column3.Value)), "00:00:00"), "HH:mm:ss"), "-") (sorry for the super long line) The expression works fine when the data looks something like this: 8311 87 0 0 8311 41 0 0 8311 80 0 0 8311 136 1 136 The idea is that column 3 is a 1 if column 2 is over 120, otherwise it is 0. Column 4 has value

ssrs 2008 cascading parameters

喜你入骨 提交于 2019-12-02 03:48:55
I am currently using SQL 2008 R2 with SQL server Report Service 2008. I am creating a report with the following parameters - Staff_name, Client_name, Lab, lab_date, etc. When the user selects the Staff name the Client they service will populate a drop-down for them to choose and this works fine. When the user selects a client then the clients labs will populate the Lab drop-down. I have a SP that returns the values of the lab dataset of a chosen lab or empty values if 'New Lab' is picked. The problem is that if I default the parameters below Lab, ex. Lab_date, with the appropriate variable

Where are my reports?

老子叫甜甜 提交于 2019-12-02 03:44:29
问题 I can see the SSRS reports via the Report Manager in the browser. I know what database server it's pointing to. How do I find where the source .rdl files are kept? 回答1: The source file is stored in the ReportServer database of the SSRS instance you're looking at. See Report Server Database in Books Online: The report server database is a SQL Server database that stores the following content: Items managed by a report server (reports and linked reports, shared data sources, report models,

Add ssrs report description

醉酒当歌 提交于 2019-12-02 03:07:50
Anyway I can add a ssrs report description that displays in the report before execution? I Googled and most people said its not possible but there has to be a way to tweak it right? For anyone who still needs to add a report description that users can read before executing the report, I have seen this feature in both SSRS versions I have used (2008 and 2016). The Report Properties has a Description field, which users can read when accessing the web portal in either view (Tiles or Details/List). You administrate the Description field configuration from various locations-- web portal, Report

SSRS streamIDs and chart images render with same id for different requests

狂风中的少年 提交于 2019-12-02 02:57:56
Does anyone know if there is a way in the report definition to force a unique streamid for report images per request. I have a situation where I am rendering a report as a byte[] via the ReportExecutionsService web api. Whenever a report has images SSRS will give each image a streamid and I am required to save the parts to a temp web folder the client can access. When I put a chart on a report the streamID never changes and this is causing a cache issue in browsers. The same chart displayed regardless of parameters, however, I can view the temp file on the server and see that the chart has

Excel Function within SSRS 2012

心已入冬 提交于 2019-12-02 02:34:37
From what I have read this may not be possible but thought it was worth asking, I am trying to Export a SSRS 2012 report but maintain an Excel Function at the same time. I have a Text Box in my SSRS report which when export always appears in Row/Column D33 I have a figure of 20. I have coded in to a Cell on my report =D33* "a figure that is returned in the report , the Expression I have used is ="=DD3*"&Cint(Fields!LABC_Hours.Value) , when exported this comes out as =D33*5 but what is should be doing is the calculation =20*5. Is there a way of doing this? Thanks in advance. Short answer is no.