reporting-services

Filtering based on SSRS total/sum

ぃ、小莉子 提交于 2019-12-12 02:37:32
问题 I am using Visual Studio 2010 and SQL Server 2012. I have searched the net and the stackoverflow archives and found a few others who have had this problem but I could not get their solutions to work for me. The problem involves filtering based on the aggregate value of a dataset using a user definable report parameter. I have the following report. The ultimate goal of this report is to filter portfolios that have a user definable % of cash as a percent of total assets. The default will be 30%

SSRS Hyperlink report with parameters not working properly

时光毁灭记忆、已成空白 提交于 2019-12-12 02:37:08
问题 Main report which drills down to Register URL I have main report with 3 parameters and have 3 levels of drill downs. The last drill down is to register level and it shows a hyperlink when clicked on it, it should directly take user to register report. i.e If clicked on 1st URL – 000018045 – Cert in Childcare but it takes me to different one as below Embedded report in hyperlink Everything works fine in my report except hyperlinked report which showing different values other than user selected

SSRS Filter greyed out

旧街凉风 提交于 2019-12-12 02:32:07
问题 I have a report with filters, If I select year (1st Filter) its works, but after the first selection the second filter Audits does not enable or is not clickable? I'm not sure why this happens because I am new to SSRS. Not sure what to look for. What I have done is checked my parameters and they look fine. 来源: https://stackoverflow.com/questions/21855800/ssrs-filter-greyed-out

SQL Server Reporting Services: web references vs assembly references, poor performance

℡╲_俬逩灬. 提交于 2019-12-12 02:21:29
问题 I am using Reporting Services to render a report directly to PDF. It requires that I use two web references: ReportExecution2005.asmx and ReportService2005.asmx . The performance on web references seems really poor. Since my web server (IIS7) and my SQL Server (2008) are on the same box, is there a way I can reference them directly? If not is there any way I can explicitly cache them or something. First load is really really slow, second load is perfectly acceptable. Thanks 回答1: HTTP is a

SSRS loop for report and subreport

允我心安 提交于 2019-12-12 02:18:06
问题 So I have a report with a matching subreport, based on two joined tables. The value: NameID from the one table is the parameter I wish to filter on. The main table draws data from a query like this: SELECT * FROM NameTable Where NameID = '111' The subreport then is made up of a join query using the NameID from the first table. SELECT * FROM OtherTable WHERE OtherID IN (SELECT a.otherID FROM OtherTable a INNER JOIN NameTable b ON a.variable = b.variable WHERE b.NameID = '111') I just want a

How to add parameters for multiple agents to exclude from the SSRS Stats Report

走远了吗. 提交于 2019-12-12 02:16:55
问题 Scenario: I have a report that pulls up stats for agents for a certain date range (usually the same day, yesterday) which I've set as parameters. I've built the report in Visual Studio Report builder and the report works great. Challenge: Some agents are taken off calls and work on emails instead that day. So, though they are logged in, they can't be added to the call queue stats. Need: I need to add parameters which can select agents from the drop down (Ctrl+select) and have the report run

Retrieve multiple sum columns of sub queries

痞子三分冷 提交于 2019-12-12 02:15:19
问题 From this query : select LastStateS='LastStateS1and2' , count(s.LastState) as sumS, LasteStateE='LastStateE1and2' , count(e.LastState) as sumE from table1 t1 join table2 t2 on t1.ID = t2.ID join (select LastState ,count(LastState) as sum from table1 where ID = X and LastState = 1 or LastState = 2 group by LastState ) s on s.LastState = t1.LastState join (select LastState ,count(LastState) as sum from table1 where ID = X and LastState = 3 or LastState = 4 group by LastState ) e on e.LastState

Align decimal points in sql server reporting

一曲冷凌霜 提交于 2019-12-12 02:08:59
问题 Is this possible to align decimal point to centre and also align the whole field in centre as well. If i align the column to right then decimal points are in the middle but is it possible to have all this in the middle as well. 回答1: There's no automatic way of doing what you want. Try setting the right padding to a high value to push the values toward the middle. 回答2: Try "#,###.??". However, you can't eliminate decimal point "." for numbers that don't have fractions. 来源: https:/

SSRS Datasources on the server

与世无争的帅哥 提交于 2019-12-12 02:07:22
问题 I am about to start a new SSRS project. I have some experience with SSRS and in the past, I used to create my datasource and deploy it to server. Every time I wanted to work on my report, I had the DS locally. My new project has to use a datasource stored on the SSRS server, on datasources folder. How do I map my project to use that DS from server? I am usingSQL Server Data tools for visual studio 2013.Thanks 回答1: you can't. In the report project properties, you have some deployment options.

Multiple page orientation in SSRS 2008

谁说胖子不能爱 提交于 2019-12-12 02:06:30
问题 I'm preparing a series of reports in ssrs 2008. In order to comply with the requirements the first page of the report has to be in portrait orientation, while the rest of the document must use landscape orientation. I know there is no way to do this OOTB ( or perhaps you can prove me wrong :P ). I was wondering if there was a way to implement a custom renderer that could play with Page Orientation based on page breaks, or any other solution you knew of. I was reading through the questions and