reporting-services

use expression to dynamically decide which subreport to open

蹲街弑〆低调 提交于 2019-12-22 08:38:35
问题 I have a report that contains several pages with graphs, tables and so on. This report is used by different customers who always want small modifications to the report. At the moment if a customer wants a change on page 5 the whole report is recreated with the modifications, even though the only change is in the graph on page 5. More so, some customers don't want to see page 3, others want a custom table at page 6. My boss would like the report to be modular so he can simply switch parts on

ReportViewer “Missing URL parameter: Name”

浪尽此生 提交于 2019-12-22 08:20:08
问题 In a web application I'm working on the ReportViewer keeps giving me a error "Missing URL parameter: Name". I have found the cause but not a solution. The url that is causing the exception from the report viewer Reserved.ReportViewerWebControl.axd?ReportSession=3bkunv2wte3wmnabkquyr1y0&ControlID=1e2b5870e07b46abac7fd32a9e0e4b9d&Culture=1033&UICulture=1033&ReportStack=1&OpType=ReportArea&Controller=ctl00_ASPxRoundPanel3_PageContent_Wizard1_ReportViewer1&PageNumber=1&ZoomMode=Percent&ZoomPct

What is causing a scope parameter error in my SSRS chart?

限于喜欢 提交于 2019-12-22 07:54:09
问题 Why am I getting this error in my chart? (Chart Image) I am using this expression in the chart: Series: =Sum(Fields!Mins_Att.Value)/Sum(Fields!Mins_Poss.Value) Series 1: =Sum(Fields!Mins_Att.Value, "Chart2_CategoryGroup2")/Sum(Fields!Mins_Poss.Value, "Chart2_CategoryGroup2") and I am getting this error: The Y expression for the Chart has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal the name of group, data

Trying to sum distinct values SQL

江枫思渺然 提交于 2019-12-22 04:51:03
问题 I'm having trouble coming up with a value for a cell in SSRS, which should be a sum of distinct values. I have a SSRS report that looks similar to the below screenshot: I'm having trouble getting the value in red ($11.25). I basically need to sum the Ship Cost, based on distinct Tracking #s. So there are two distinct tracking #s, one with a Ship Cost of $5.25 and the other $6.00, so the total displayed in red should be $11.25. But I cannot achieve this in SSRS and can't figure it out in the

Grouping in SSRS?

寵の児 提交于 2019-12-22 04:47:18
问题 i am new to the SSRS and Have data as below RCnt Jobnumber NJCT JD pmt flag cnt1 cnt2 2 001008 0 PRESSURE SEAL PSI Y 0 0 2 2 001008 0 PRESSURE SEAL PSI Y 0 0 10 2 001008 0 PRESSURE SEAL PSI Y 0 0 1 1 001009 0 Single Sheet Duplex Legal PSI Y 0 0 1 1 001009 0 Single Sheet Duplex Legal PSI Y 0 0 4 6 001010 0 Single Sheet Duplex Legal PSI Y 0 0 6 5 001011 0 Single Sheet Duplex Legal PSI Y 0 0 5 5 001011 0 Single Sheet Duplex Legal PSI Y 0 0 3 13 001012 13 Single Sheet Duplex Legal PSI Y 0 13 0 13

SSRS Reports - Hiding a Tablix doesn't shrink the space and move content after it up

隐身守侯 提交于 2019-12-22 04:39:50
问题 I have a tablix with another tablix beneath it with 0 space between the bottom of the first tablix and the top of the second. When I change the Hidden property of the first tablix to true, it hides the tablix with empty space but doesn't move the second tablix up. Is is possible to hide the first tablix and move the second tablix up? 回答1: Ah, just figured it out. Have to add both tablixes to the same rectangle. Then hiding the first tablix moves the second one up. 来源: https://stackoverflow

Multilanguage in SSRS

佐手、 提交于 2019-12-22 04:17:08
问题 Is there a way to display/export english SSRS report in some other languages? 回答1: No, unfortunately, there's no easy way to do this :-( I've been trying to get this up and running myself, but in the end what I did was basically pass all the labels I want to have displayed on the report from the calling app (an ASP.NET app, in my case). Another approach might be to store the text fragments in a SQL Server table, and add a datasource to your report which retrieves those text labels, and then

Multiple Datasets from Stored Procedure in SSRS

为君一笑 提交于 2019-12-22 01:33:12
问题 I have a stored procedure that returns multiple resultsets just as below Create StoredProcedure sp_MultipleDataSets as begin SELECT EMPID, ENAME, JOB, SAL, DEPTID FROM EMP -- first result set SELECT DEPTID, DNAME, LOC FROM DEPT --second result set end In BIDS, while creating a new report i configured the stored procedure for dataset. It creates the dataset ONLY with the columns returned from the first result set. It does not identify the second result set. How can I create datasets for both

SSRS tablix column CanGrow property for width?

吃可爱长大的小学妹 提交于 2019-12-22 01:24:14
问题 I'm working on a tablix in SSRS 2008 and want my columns to autosize (width only) to their contents. CanGrow only affects height. Is there a property I'm missing or any way to otherwise rig the columns to do this? 回答1: I've been trying to do that myself (client side), without success. There is no property that would autosize the column width. Check out this workaround: http://blog.sharepointalist.com/2009/05/ssrs-column-width-auto-size.html (I haven't tested it) The best workaround I've found

Strategies for populating a Reporting/Data Warehouse database

旧巷老猫 提交于 2019-12-21 22:47:28
问题 For our reporting application, we have a process that aggregates several databases into a single 'reporting' database on a nightly basis. The schema of the reporting database is quite different than that of the separate 'production' databases that we are aggregating so there is a good amount of business logic that goes into how the data is aggregated. Right now this process is implemented by several stored procedures that run nightly. As we add more details to the reporting database the logic