reporting-services

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

Using SSRS in ASP.NET 1.1

孤者浪人 提交于 2019-12-24 03:15:57
问题 Is it possible to use SSRS for reports in an ASP.NET 1.1 application? Is there a report viewer control for ASP.NET 1.1? If not is there any workaround for this? 回答1: One way you can get around it is to use the querystring commands that Reporting Services makes available and serve up the reports in PDF format (or in any of the other deliverable formats to the end user). Reporting Services itself requires .NET 2.0 to run on its own, so there is no actual controller for displaying the reports

Changing column header in SSRS doesn't show updated name when exporting to csv

心不动则不痛 提交于 2019-12-24 02:43:20
问题 I have a simple table in a SSRS report that users need to export to csv. After creating the report I changed a few of the column header names in the table. The report shows up fine when running it, but once a user exports to csv, it shows the old default column header name. Any ideas on how to fix it? 回答1: The CSV headers are derived from the names of the textboxes that make up the cells of the grid. Make sure you change these appropriately. 来源: https://stackoverflow.com/questions/9894385

Rendering .rdlc reports with ASP .NET Core

牧云@^-^@ 提交于 2019-12-24 02:18:38
问题 Is it possible to render .rdlc reports with ASP.NET Core? Currently this only seems to be possible if I target the .NET Framework as opposed to .NET Core. I don't need a report viewer I just need to render the results of an .rdlc report as a byte array. 回答1: You very well can render rdlc into a byte array. Please see a related question I asked a while back. RDLC Local report viewer for ASP.NET Core and Angular(>2.0). Eventually a creative discussion on that thread resulted in an angular

SSRS range bar chart, different color when no data

有些话、适合烂在心里 提交于 2019-12-24 01:59:16
问题 I am looking to change the color in the "gaps" in the range chart that I have built. Essentially I am trying to build a visualization for the staff to see the availability on bays. The red markings mean the bay is booked, I wanted green then to be in between the red to highlight free bays. Occupied bays: I suspect I need to go back to my dataset and add in some date tables to show "null data" to allow a "switch" to work, but I thought someone might know if I could change this without going

Dynamically store and send SSRS reports as PDF with C#

浪子不回头ぞ 提交于 2019-12-24 01:42:11
问题 I have a report in SSRS that takes as a parameter a SalesRepCode and Email to generate a PDF receipt. It's working as it should be if I'm using the Report Viewer. With C#, I'd like to automatically generate a PDF for each SalesRep that exists, once the PDF is rendered, I'd like to store it on a folder and then send it as an email attachment. I have looked at the MSDN documentation of the ReportingService2005 Class, but this refers to the 2005 version, and I'm using SSRS 2012 and I still

SSRS - exclude hidden values from sum - No SQL To Use ROW_NUMBER()

半腔热情 提交于 2019-12-24 01:25:08
问题 hope use can help me with this: My dataset uses a pre-built module therefore I cannot use SQL adding a row_number() for the field. I need to be able to exclude hidden values from SUM as follows: In the field I used this expression: IIF(Fields!SpaceID.Value = Previous(Fields!SpaceID.Value), 0, Fields!SpaceArea.Value) In the Textbox Property for SpaceArea -> Visibility -> show or hide of the field, I also used this expression for hidden: =IIF(Fields!SpaceID.Value = Previous(Fields!SpaceID.Value

SSRS 2008 - Sorting within a group

雨燕双飞 提交于 2019-12-24 01:19:51
问题 I am using SSRS 2008 with a tablix control that has one Row Group defined (called MyGroup). Can someone please explain the difference between the following sorting options you can pick from? Sorting via the Tablix properties window Sorting via the MyGroup (a row group I created) properties window Sorting via the Details (default child row group of MyGroup) properties window. Does sorting at the Tablix level do an initial sorting.... which is later refined by the sorting you can define inside

SSRS Decrypting database column throws error “Value cannot be null. Parameter name: inputBuffer”

北城余情 提交于 2019-12-24 01:17:05
问题 We have a database field that is encrypted in a C# MVC app using Entity Framework. That part works fine for encrypting and decrypting. We need to show this data decrypted in an SSRS report. I've taken the Decrypt method and converted it to VB.Net and placed in the code behind of the report. The error occurs when calling the StreamReader 's ReadToEnd method. We've found some references online about there being an issue trying to close a stream that's already closed. This stream is only being

SSRS IIF Statement showing #Error when value is non numeric

余生长醉 提交于 2019-12-24 01:14:32
问题 I have a value that will either be a decimal or string. Sample 0.41 0.91 "0 / 2" 0.75 My current expression is =IIF(IsNumeric(Fields!currentRate.Value), Format(CDBL(Fields!currentRate.Value), "P2"), Fields!currentRate.Value) This properly returns the decimals formatted as a percentage, however the strings are only showing #Error. I've tried messing with various logic in the IIF statement and using a Switch instead. However the decimals always properly show as a percent, while the string only