ssrs-2008

Running multiple instances of single parameter report at once

大憨熊 提交于 2019-12-13 06:21:13
问题 I have a report that takes one parameter (an order no) and creates a document for that order, pulling in some address fields, etc. My customers want the ability to select multiple order numbers at once and print out say 10 different sheets, one for each order. everything would be the same on each sheet, save for the order specific information. my problem is that currently, toggling the parameter to accept multiple values jams all the information for all 10 orders into the same place on one

Report Services sort column chart

老子叫甜甜 提交于 2019-12-13 05:58:24
问题 I have a report containing a regular column chart that groups on product (column A) and the chart column values are the sums of the cost (column B). By default these are sorted alphabetically on the product string. I want it to sort the column values by default and then I would like to provide and option for the user to be able to switch between product name and column value. How do I do this? Thanks 回答1: You can use a Sort By report parameter of Text type. Set the Available Values and

How to get percentage for a field

邮差的信 提交于 2019-12-13 05:55:29
问题 I would like to get percentage for a given field value. I am achieving this in excel by using formula. Is there a way to write down formula in SSRS? I attached images here. I need this In excel i achieved by using formula, how to get this one in SSRS? 回答1: Yes, It's possible. Use below expression =Round(100 * (ReportItems!Number.Value / ReportItems!Number1.Value),2) Here, ReportItems!Number.Value is the textbox name of Name Texbox and ReportItems!Number1.Value is the textbox name of Total

Getting Distance between two Points in SSRS report map

孤街醉人 提交于 2019-12-13 05:42:46
问题 I have created an SSRS reports in which i'm using map along with bing map. Also i have using the Point layer in the map. How can i able to get distance between 2 points in the map? Kindly advice... 回答1: The below function gives you distance between two GeoCoordinates in kilo metres CREATE FUNCTION dbo.fnCalcDistanceKM(@lat1 FLOAT, @lat2 FLOAT, @lon1 FLOAT, @lon2 FLOAT) RETURNS FLOAT AS BEGIN RETURN ACOS(SIN(PI()*@lat1/180.0)*SIN(PI()*@lat2/180.0)+COS(PI()*@lat1/180.0)*COS(PI()*@lat2/180.0)

URL not passing parameters to SSRS report

此生再无相见时 提交于 2019-12-13 05:22:21
问题 I am using SSRS 2008. This is my URL: http://mybox/ReportServer/Pages/ReportViewer.aspx?/BI/PlayerProfiler+v3.0&id=548127&SP=FS In my report I have 2 parameters the ID and the SP. The ID is a plain text box and the SP is a drop down. For some reason the ID does populate the text box but the SP does not want to get selected with the way I am passing the URL. Why not?? The display value and the real value is FS.... 回答1: I found the problem! There was a space next to my actual value of the SP

Grouping column by DateTime

这一生的挚爱 提交于 2019-12-13 05:09:10
问题 I'd like to grouping a column by a DateTime field ( Months ) The values of this field are how this: 2014-12-16T12:56:06.32+01:00 How should be the expression to make a primary group by column? Best regards 回答1: You can use this query : select SUBSTR(COLUMN_NAME,6,2) as "MONTH",count(*) from TABLE_NAME group by substr(COLUMN_NAME,6,2); You can add columns in group by as per requirement. Note : Columns in group by should be present in select. 回答2: Group by the record in SSRS design . In the

SSRS : New calculated field based on where condition

我只是一个虾纸丫 提交于 2019-12-13 04:59:15
问题 I'm new to SSRS reporting and I'm need of help... I have a dataset with fields "Process", "Level" and "Workweek" Process Level WW ------- ----- -- Test Lvl_0 3 Test Lvl_1 28 Test Lvl_2 48 Samp Lvl_0 10 Samp Lvl_1 39 Samp Lvl_2 51 What I want now is to create two more calculated fields called Start_WW and Pro_Start that has the values from WW field. WW of Lvl_0 is considered to be the Process_Start. the logic is something like Process Level WW Start_WW Pro_Start ------- ----- -- -------- -----

Report is not loading when using parameters

血红的双手。 提交于 2019-12-13 04:54:28
问题 I have created a ssrs report and uploaded it in reportserver which is working fine. Then I have added 4 parameters to the same report. It works fine in my local machine,But not working when uploaded to report server. Is it because of any permission issues? 回答1: it was because one of my reports was having more than 1000 values. So I have made the following changes in web.config of the Reports server and it is working fine. <add key="aspnet:MaxHttpCollectionKeys" value="10000" /> 来源: https:/

ssrs 2008 : Do not want group header to appear for every group

二次信任 提交于 2019-12-13 04:40:00
问题 I need to generate SSRS report as shown in the above picture (the top portion of the image got cut off but it has the header as shown below which should appear on only at top of each page). HEADER is as below Bin ItemNr Description QtyOnHand My data output is as below which I need to use to generate report format as shown above. ![enter image description here][2] Issues I am facing I used 2 tablix. The first tablix has groupby on ItemNr and I show only if the record has binPriority equal to 0

How to implement user impersonation in reporting services?

旧巷老猫 提交于 2019-12-13 04:35:44
问题 Software involved in this question is: SQL Server Reporting Services 2008 R2 SQL Server Analysis Services 2008 R2 SQL Server 2008 R2 Database Engine ASP.NET 4.5 Web Forms ReportViewer component We have several dozen reports. Some reports use T-SQL queries to our Data Warehouse database and some use MDX queries to our SSAS Cube. Active Directory Security Groups secure which reports a user can access on the Report Server. We additionally have made SSAS Roles that have Dimension Permissions on