ssrs-2008-r2

Formatting Datetime in SSRS Expression

陌路散爱 提交于 2019-12-24 14:17:17
问题 Part of my query is like so: SELECT * FROM TableA WHERE ColumnA >= DATEADD(DAY, - 30, GETDATE()) With the expression at the where clause above, you can pull a rolling 30 days data without having to supply values. Now users of the report want to see it represented like: 2nd April – 1st May when the report is ran. Knowing that I have no parameters as the requirement is to not use parameters, how do I reference ">= DATEADD(DAY, - 30, GETDATE())" to reflect the start date and the end date in the

SSRS conditional execution of dataset

做~自己de王妃 提交于 2019-12-24 09:41:31
问题 I have two different datasets in SSRS report which gives different number of output fields.I have used this two data set into two different tables in report. 1) One table will display output at a time in execution based on condition. Actually while running the report two datasets are executing the SP and it takes more time to display the output. Requirement: I need to execute the one dataset SP at time based on condition.Other Dataset SP should not Execute. Example: Dataset1 executes Sp1

SSRS 2008 R2 Bug? Still? Dynamically hiding column or tablix and exporting to CSV

…衆ロ難τιáo~ 提交于 2019-12-24 04:09:27
问题 I originally thought this would be an easy task, but after several hours of research I'm reading there may be a SSRS bug when exporting hidden fields to CSV which doesn't make this possible? What I'm looking to do: I have a report with several columns (let's say 50). I have a parameter drop down for REPORT_VERSION that allows the user to select "Standard" (all 50 columns) or "Express" (only 10 columns). I've been able to display the 2 versions correctly, but when I export (the express version

SSRS iif statement error “No accessible IIf accepts this number of arguments” [closed]

旧时模样 提交于 2019-12-24 00:52:33
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Can someone provide some insight why I am getting this error: "Overload resolution failed because no accessible 'IIf' accepts this number of arguments" Here is the IIf statement: =iif(Sum(Fields!CallsRemaining.Value))<0,1,((Sum(Fields!TotalInventory.Value)+Sum(Fields!CallsRemaining.Value))/(Sum(Fields

Oracle Date format exception in SQL Server Reporting Services

安稳与你 提交于 2019-12-23 07:22:04
问题 Earlier my client was using SSRS 2008R2 with Oracle as transaction database. Recently they have upgraded to SSRS 2017 and now many reports are throwing following error: ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: [AbnormalTermination:ReportProcessing], Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:

ssrs_migration.rss file

不问归期 提交于 2019-12-23 03:54:05
问题 Does anybody have the ssrs_migration.rss file for RS.EXE (SSRS Reporting Sevices). Can't find it anywhere (Microsoft dropped the ball on this one) and I need to move a bunch of reports. Even if I you can post the VB as text so I can copy it. That'd be great. Thanks! OR... If you know of a better way that'd be awesome too! I cannot deploy strait out from the project in my scenario. 回答1: You have to go to Github to get your file. That's a treat to work with too. Click the Raw button (why they

Different drill through for each row

一笑奈何 提交于 2019-12-22 17:09:52
问题 I have an SSRS report with several levels of drilling down. Data is aggregated up for the top level view, but I need to show a different drill down report depending on the type of one of the columns. Eg: Table 1 - Apples Name Cost Fuji 1.5 Gala 3.5 Table 2 - Squashes Name Cost Pumpkin 2 Gourd 4.5 I have a stored procedure which aggregates these and puts them in a table for the top level report to show. Ie: Name Cost ItemType Apples 5 1 Squashes 6.5 2 In reality, the two tables have different

How to sum SSRS Matrix Columns on Row Group

孤者浪人 提交于 2019-12-21 04:39:05
问题 I have a report that displays the total hours a person worked for each project they are assigned to, aggregated on month. I would like to sum the total hours for each person, for each month, in SSRS 2008 R2. So, for example, I have the follow data and would like to column totals like so: January February March Worker 1 Project1 50 80 20 Project2 30 10 60 Project3 10 40 5 Total: 90 130 80 Worker 2 Project1 20 40 60 Project2 10 30 10 Porject3 30 10 50 Total: 60 80 120 Everything I have tried so

Adding values to a Report when there is no Data in query SSRS Between Datasets

血红的双手。 提交于 2019-12-20 04:16:11
问题 It is basically the same question I had in this thread: Adding values to a Report when there is no Data in query SSRS The only difference now is that I want to extend the same functionality to different Datasets. Imagine this: I have two Datasets. Dataset1 , Dataset2 . Both have the same primary key, in this case: Sales Rep Category Now in Dataset1 I have the following Data: The idea in that thread was to put "0" Each time a Sales Representative Did not have all the categories, if you see for

How do I align the width of chart with the width of Tablix in SSRS 2008 R2 ? OR how to use DynamicWidth Property?

和自甴很熟 提交于 2019-12-20 03:28:11
问题 I am in a mid of creating a SSRS report, the report consists of a tablix and a chart, both depicts same data i.e. same database query. The actual number of columns of the Tablix is dynamically decided by the number of rows returns by the query. We are displaying records in a COLUMN-WISE manner. Example: If 5 records are returned by the query then 5 columns will be displayed in Tablix... If 8 records are returned by the query then 8 columns will be displayed in Tablix... The number of records