reporting-services

SSRS report export to excel functionality gives faulty report

久未见 提交于 2019-12-11 17:24:48
问题 In the SSRS my report is displayed fine I have the following scenario: I am passing a parameter ShowDecimal . If the value of the ShowDecimal is Y then decimals should be displayed in the report. Catch is, if the value is like 1 it should display it as 1 , if the value is like 1.10 then the value should be displayed as 1.10. If the ShowDecimal is N then do not show the decimals. I have added condition in the format like: =IIF(Parameters!ShowDecimal.Value="Y", "#,##0.##", "#,##0") In the

Report viewer throws out of memory exception error while exporting to excel

微笑、不失礼 提交于 2019-12-11 17:24:37
问题 Out of memory exception thrown - I tried to export a large record from report viewer into excel in windows forms. I have applied grouping for page breaks since excel does not allow above 65535 rows. Below expression is used for Group On expression, =Int((RowNumber(Nothing))/10000) Page Break at end Checkbox is enabled for this grouping while exporting by clicking on the default export option available in report viewer control. But results in out of memory exception thrown. Am i doing right?

Total pages in a report using Report Viewer

醉酒当歌 提交于 2019-12-11 17:13:29
问题 I want to get the total number of pages in a form, which is placed in Report Viewer.. I used this code, actually the report has 5 pages but I got only one page. int t=int T = objReportViewer.LocalReport.GetTotalPages(); How can I make it give me all 5 pages? 回答1: In C# with ReportViewer 2010, a reportViewerName.PageCountMode = PageCountMode.Actual; did the job for me. PS: Just seen, this thread is more than 1 year old, sorry! 回答2: Use Globals.TotalPages? Example for a text box: =Globals

Naming worksheets once an SSRS report is exported into Excel

自古美人都是妖i 提交于 2019-12-11 17:07:28
问题 I have a single report which includes several tablixes. Once the report is run, it is exported into Excel by the team using it. For each tablix I clicked into its properties and ticked Add a page break after doing this ensures that when the report is exported to Excel each tablix's data appears on a separate worksheet. However when the export takes place the worksheets are named 'sheet 1', 'sheet 2' etc Ideally I'd like the separate worksheets in Excel to reflect the name of the tablix, e.g.

strange SQL server report performance problem related with update statistics

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 16:59:48
问题 I got a complex report using reporting service, the report connect to a SQl 2005 database, and calling a number of store procedure and functions. it works ok initially, but after a few months(data grows), it run into timeout error. I created a few indexes to improve the performance, but the strange thing it that it works after the index was created, but throws out the same error the next day. Then I try to update the statistics on the database, it works again (the running time of the query

SSRS Query Designer Changed in Visual Studio 2017

*爱你&永不变心* 提交于 2019-12-11 16:55:48
问题 I have a problem that started Monday (10/1/18) where the query designer for report projects (*.rptproj) has changed, I believe to the Report Builder Visual Designer. This has the unfortunate effect of me having to use the Text-Based Designer for managing the dataset query in the report, which is less than optimal. When I try to change out of the Text-Based Designer, I get this message: This happens for all our reports in our Reporting project. Has anyone else run into this issue? All of my

SSRS - Median by Group - Jagged Array?

筅森魡賤 提交于 2019-12-11 16:53:32
问题 I'm faced with a challenge in two parts. I've been requested to replace 3 columns in a Matrix that aggregates on Name in the row group. The 3 columns are outside of the Column group. Challenge 1 - Matrices want to summarize the Data pane. There seems to be no way to show the Raw Data (and then hide it, in order for these rows during runtime to populate an array). Challenge 2 - I need to calculate the median BY name. This means either, during runtime, I need to calculate one median for each

Change deployment location of SSRS report and sub-reports

◇◆丶佛笑我妖孽 提交于 2019-12-11 16:53:00
问题 I need to change the destination of an SSRS report in Visual Studio 2010 so that when I deploy it, it goes to the correct folder. There appear to be about 6 or 10 places where I can change options, I just cannot seem to find the right place to change these deployment options. On this particular report, there are two subreports. I would like to deploy these two reports to a separate (subfolder) under the folder which contains the main report. I assume that the changes I make in #1 are for SSRS

Report RDLC not showing data

浪尽此生 提交于 2019-12-11 16:44:00
问题 I have create a report rdlc and use report viewer to view this report .But data not showing,just table header shown. please help me to resolve this issue. ReportViewer1.LocalReport.ReportPath = "C:\Users\Dell\Documents\Visual Studio 2012\HRMS\NewHRMS\AllEmpProfiles.rdlc" Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter params(0) = New Microsoft.Reporting.WinForms.ReportParameter("deptName", "Finance") Me.ReportViewer1.LocalReport.SetParameters(params) Me.ReportViewer1

Reporting with Azure DevOps

落花浮王杯 提交于 2019-12-11 16:39:26
问题 My team that I am working with uses Azure DevOps for managing our projects. We use Agile methodology with somewhat of a waterfall approach. We are looking to make reports from this tool if there is any way possible. Is there any way to create analytic reports straight from azure devops? Is there extensions that you can use to get these reports from azure devops? What are the main types of analytic reports that you generate to show at a high level? I have already looked into Power BI. 回答1: For