ssrs-2008

Suppressing page breaks upon exporting a Reporting Services report to Excel

假装没事ソ 提交于 2019-12-24 10:53:05
问题 When exporting a multi-page report from SQL Server 2008 Reporting Services to Excel, by default, pages in the report created by a page break are sent to separate worksheets in the Excel file. While this is fine most of the time - sometimes it's not. Right now, I'd like to be able to prevent those page breaks from causing additional worksheets to be created - I really would like to export all my pages into a single Excel worksheet and basically just ignore the page breaks (or replace them with

IN vs = in Where Clauses

被刻印的时光 ゝ 提交于 2019-12-24 10:47:06
问题 I try to create standardized SQL scripts for use in my SSRS reports. If I wish to have a statement such as: Select * from mytable and use a SQL Variable (SSRS parameter) in the where clause, is there any speed advantage to using this: Where field = @MyField VS. Where field IN (@MyField) I know the second option supports both multiple selections and single selections while the first supports only single. Are there any performance hits if I write all my queries with the IN statement for

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

Can't see the Site Settings option for SSRS 2012

懵懂的女人 提交于 2019-12-24 07:46:24
问题 I don't seem to have the Site settings option on my SSRS instance. I have looked at numerous online suggestions including: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/bc47050a-a733-4a27-a55a-64159453d83e When I try to access the report server url using IE as Run As Administrator, I get a login box everytime. From reading numerous articles it sounds like I need to the System Administrator in SSRS to view the option but have no idea how to add a user to this system

Creating conditional total rows in SSRS

匆匆过客 提交于 2019-12-24 04:58:10
问题 I am creating a report that has to mimic and existing report… it has grand totals and subtotals. Problem is the subtotals are based on different criteria… So: Apples 5 Oranges 6 Beans 3 Grapes 8 Peas 3 Total Fruit: 19 Total Veggies: 6 Grand Total : 25 Assuming I have a field that tells me if an item is Fruit/Veggie, how can I create grand subtotal row (at the bottom of the page) that will only add based on the value of another field? I do not want separate groups. The format should remain as

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

C# Report Renderer for SRSS 2008 R2 - Missing Parameter

偶尔善良 提交于 2019-12-24 04:07:07
问题 I'm using C# to render a report from SRSS 2008 R2 The report has parameters and for a long time I have had no problem rendering the output. However today it has decided its not going to work! Here is the error ReportServerException: This report requires a default or user-defined value for the report parameter 'CustomFieldId'. To run or subscribe to this report, you must provide a parameter value. (rsReportParameterValueNotSet): Stack: at Microsoft.Reporting.WebForms.ServerReportSoapProxy

How do I keep the legends/colours of SSRS charts consistent?

醉酒当歌 提交于 2019-12-24 04:03:26
问题 I have been having a couple of issues with my charts in SSRS. Basically, the graphs display the results of a sharepoint survey by counting up the totals of question responses. (For example, the speed rating graph below uses =Count(Fields!Speed_Rating.Value) to get its data. ) The responses to these questions can range from Very Poor to Very good as shown below in the Speed rating graph. The problem I am having is that because there has not yet been a Very Poor response to the Professionalism

SSRS display top n but have SUM include all values

一曲冷凌霜 提交于 2019-12-24 03:45:09
问题 I currently have a tabllix in SSRS with multiple rows, but I wish to only display the top 5 rows, yet have the total column at the bottom include the values for however many rows are in the table. Example: NameID / Sales / % of Total 1 / 100 / 4 / 70 / 3 / 65 / 2 / 50 / 7 / 35 / DO NOT DISPLAY THESE RECORDS: 6 / 25 / 5 / 10 / TOTAL SALES: 355 (inclusive of all 7 records) I need this total sales number to be accurate so that I can then use it for the % of Total column. I don't believe a filter

SSRS Reportviewer - 401 Unauthorized

孤街醉人 提交于 2019-12-24 01:47:26
问题 We are moving SQL Server Reports from a SQL Server 2008 (SP3) machine to a SQL 2012 (SP1) machine. The reports run fine in report manager (ie https://SQLRep2012/Reports) However, the ASP.net application returns "The request failed with HTTP status 401: Unauthorized." I know the user has rights because I am testing it with an admin account with all network/SQL server rights. Find the code below... using System; using System.Data; using System.Configuration; using System.Collections; using