ssrs-2008

SSRS Alternating Row Colors Within Groups

為{幸葍}努か 提交于 2019-12-24 00:28:24
问题 I have some issues getting alternate row colors. I've tried different expressions and this is as close as I've gotten to getting it done: =IIF(RunningValue(Fields!agent_name.Value,CountDistinct, Nothing) MOD 2 = 1, "Gainsboro", "White") Where all other of my reports are getting correct alt row shading, I'm having trouble with this specific report that has a Row group and a Column group.. Spent about 2 days and still no luck :( When I make my rows with the above expression, it is displayed

write an expression to check if the any of the value in the group is false

谁说胖子不能爱 提交于 2019-12-23 23:19:05
问题 want to write an expression in an SSRS 2008 textbox to check if any of the value in a field in a group is false. If false stop and change the background color of the Textbox. i am trying to do =iif(field!coloumnname.value="False","Red","silver") The above expression is taking the top most value in the group and giving the output. I mean if the value is True , it is giving silver background. Can anyone help me out 回答1: Just use the min function in the group level background property: =iif(min

How to delete old subscriptions

橙三吉。 提交于 2019-12-23 20:48:30
问题 I have subscriptions which are 3 years old. I just want to delete 2 years old unused, Old and Orphan subscriptions. 回答1: The script below shows all subscriptions/schedules/when they were create/when they were last executed (apologies for lack of attribution) you could use it to find where the subscriptions are you want to dump and manually go and remove them using @Kavins directions --SSRS SUbscriptions USE ReportServer SELECT AgentJobName = sysjobs.NAME ,DataDriven = Case when subs

Accessing SSRS Reports outside company domain

*爱你&永不变心* 提交于 2019-12-23 20:09:03
问题 From report manager we can assign new roles , but these users needs to be in the same network. So how to access the SSRS reports outside the network? 回答1: I am assuming inside your organization you are accessing directly using the URL to SSRS server? There are two ways of providing the access to the reports Not so good one but it works, Ask the users to dial in with their VPN connections and then they can continue the same way as if they were in same network Build a ASP.net application which

SSRS Pass Parameter via URL

走远了吗. 提交于 2019-12-23 18:32:15
问题 I have the following report URL: /Reports/Pages/Report.aspx?ItemPath=%2fcMIS%2fgradebookProfileView I'm trying to pass the parameter TG via the URL so it looks like so: /Reports/Pages/Report.aspx?ItemPath=%2fcMIS%2fgradebookProfileView&TG=10BEE%20C However this doesn't work, how can I make this work so that it automatically enters 10BEE C into the parameter textbox. 回答1: You can't use the /Reports/ front end to pass parameters, you have to use the web services end point to pass the parameter

How to get current date in file name?

一个人想着一个人 提交于 2019-12-23 11:58:31
问题 I am generating report everyday through SSRS. I am trying to get current date as file name when ever the job runs and file created. Like this ID_report_03-31-2014 I have tried echo %date% %time% and @ExecutionTime but it doesn't work 回答1: The main option with a file share subscription is to add @timestamp to the file name. From File Share Delivery in Reporting Services: An alternative approach to creating unique files for every delivery is to include a timestamp in the file name. To do this,

Reporting Services - setting a field value dynamically based on parameter

混江龙づ霸主 提交于 2019-12-23 09:06:16
问题 I need to build a report that shows data in four grouped levels. The tricky part is: the actual fields to be displayed on those four levels are to be passed into the report as parameters. My main issue right now is this: how can I tell a textbox on the report to not display the value of the parameter @X, but the value of the field by the name which is specified in parameter @X? So if I pass in @X = 'Agent' , I don't want to show 'Agent' on the report, but really =Fields!Agent but how can I do

Using Shared Dataset in Subreport

試著忘記壹切 提交于 2019-12-23 09:03:04
问题 Greetings! I am using SSRS with MS SQL Server 2008 R2, which has the new feature of supporting shared datasets. First, I created my shared dataset, and made sure that it worked correctly and had a good connection. That worked great. Second, I created a new report (Let's call it "ReportSub"), and I had it use my shared dataset. The report works great. Third, I created another report (Let's call is "ReportMain"), and I put a subreport object into the report and associated it with "ReportSub".

Convert GUID to string in SQL Server Reporting Services

浪尽此生 提交于 2019-12-23 08:47:34
问题 While trying to display a GUID column in a report ..its displayed as #error .. =CStr(Fields!number.Value).ToString I tried the above code in the properties of the column..it doesn't work.. Please advise 回答1: =CType(Fields!number.Value, GUID).ToString 回答2: If it is a GUID, just display it without any processing, like other data types. In case you want to convert it for other purposes, just use ToString, for example: =IIf(Fields!number.Value.ToString=Fields!ID.Value.ToString, "true", "false")

Use an Aggregate function in Sort Expression

ぃ、小莉子 提交于 2019-12-23 07:56:02
问题 I have a report which uses a dataset returned from a stored procedure. There are two key columns: Name and Value I am using this dataset for two tablixes. The first is just a straightforward tablix displaying the data. The second groups the data based on a Name column. I need to order this data based on the Sum of Value column However I get the following error: [rsAggregateInDataRowSortExpression] A sort expression for the tablix 'table1' includes an aggregate function. Aggregate functions