reporting-services

How to automate SSRS install and configuration

随声附和 提交于 2020-01-06 03:59:08
问题 This is my scenario: I have to setup a number of TFS 2013 Application Tier nodes (at least 6) and I am trying to automate the process, the nodes hosts also SQL Server Reporting Services 2012 SP1 in "cluster" (better group) configuration. I have no problem in installing SQL, but I am stuck with Reporting Services configuration. The documentation states to use WMI to configure URLs, and the MSReportServer_ConfigurationSetting class has a SetVirtualDirectory which seems appropriate. I see that

Sum total of report column

不羁的心 提交于 2020-01-06 02:43:27
问题 I try to sum the total of a column of my report based on =ReportItems!Textbox135.Value This field is not included in the dataset, but is a textfield in the report. I use the following expression in the group header of my report =SUM(ReportItems!Textbox135.Value) Which results in the error: Aggregate functions can be used only on report items contained in page headers and footers What is the correct expression to sum report items? 回答1: Have you tried: =SUM(Fields!YourField.Value) 来源: https:/

Programmatically Exporting Reports via SSRS API

泄露秘密 提交于 2020-01-06 02:43:08
问题 I have a custom interface where my users select multiple reports and export them all at once. I need to programatically export these reports and preferably offer all the same format options. I understand this can be done through the SSRS API. Does anyone already know how to do this to save me some research time? Many thanks... 回答1: Looks like you would use the ReportExecutionService class - not the management API, which is where I was looking at first. Use the Render method to generate the

SSRS mdx report: dimenstion on columns outputs nulls if not selected on rows also

a 夏天 提交于 2020-01-06 02:16:13
问题 (this question continues thread "SSRS mdx report: use dimension on columns", answered by @whytheq ) This correct code was built in the previouse thread: WITH MEMBER [Measures].[Contacts] AS IIF([Sales_step].CURRENTMEMBER IS [Sales_step].&[contact], [Measures].[Qnt], null) MEMBER [Measures].[Clients] AS IIF([Sales_step].CURRENTMEMBER IS [Sales_step].&[client], [Measures].[Qnt], null) MEMBER [Measures].[Funded] AS IIF([Sales_step].CURRENTMEMBER IS [Sales_step].&[funded], [Measures].[Qnt], null)

Programmatically Add User to Report Server (SSRS 2005)

亡梦爱人 提交于 2020-01-06 01:59:07
问题 I would like to be able to programatically add a user to the report server by creating some stored procedure that accepts user_id and does inserts into ReportServer..Users and other associated tables. I am having trouble doing this (especially the column ReportServer..Users.Sid). Has anyone been able to accomplish this in the past? The end goal would be to have a script on my local PC that connects via osql to add users to the database so they can ad-hoc query and also add them to the report

How to Display a Pie Chart in a table with the value of 2 columns in SRSS 2008

梦想的初衷 提交于 2020-01-05 15:17:18
问题 First, sorry for the title, but I couldn't think of a better one. This is what I want to do. I have a Tablix in SRSS 2008. The rows are employees. In it I have 2 columns: TalkTime HoldTime Which are integers, and the value is in seconds. I want to add a column in the Tablix with a Pie Chart (yes, little) in order to graphically show the proportion of TalkTime vs. HoldTime. I don't want any titles, legends, etc., but just a quick visual: if the talk time was 750 seconds and the hold time was

SSRS Switch function to fill background colour

牧云@^-^@ 提交于 2020-01-05 12:10:13
问题 I need to use the SSRS Switch function to fill background colour =switch(Fields!Ref_No.Value="AAA","Green",Fields!Ref_No.Value= not like "AAA","RED" How do I say if first 3 letters not like AAA then fill background Red ? 回答1: Just use Left and <> : =Switch(Fields!Ref_No.Value="AAA", "Green" , Left(Fields!Ref_No.Value, 3) <> "AAA", "Red") Left makes sure you're considering the first three characters only as per your requirement. 来源: https://stackoverflow.com/questions/19350144/ssrs-switch

Reporting Services 2005: Group into columns

梦想与她 提交于 2020-01-05 08:49:10
问题 From a query, I get these results: Machine 1, Product A, 1 pal Machine 1, Product B, 2 pal Machine 1, Product C, 3 pal Machine 2, Product D, 2 pal Machine 2, Product E, 2 pal Machine 3, Product F, 1 pal I would like to create a report that looks like this: Machine 1 | Machine 2 | Machine 3 Product A | Product D | Product F 1 pal | 2 pal | 1 pal Product B | Product E | 2 pal | 2 pal Product C 3 pal I know above formatting sucks but it gives an idea. I guess this is the same problem as in New

Reporting services + sort expression

眉间皱痕 提交于 2020-01-05 05:56:10
问题 Greetings, In my reporting services I would like to add sorting. Is there any way I can add sorting by two fields inside one column's sort expression? something like: =Fields!SomeValue1.Value =Fields!Somevalue2.Value when I use this sort expression, values are not sorted correctly. Values I would like to sort are something like SomeValue1 SomeValue2 10 11 9 1 20 21 13 12 13 7 17 6 The case is that SomeValue1 and SomeValue2 comes from another value that as follows: 10-11 9-1 20-21 13-12 13-7

SRSS Conditional formatting colour with value ranges?

匆匆过客 提交于 2020-01-05 05:35:50
问题 I have a sql reporting services report that displays sales from all of our stores etc it includes a column which displays a % to budget value. What I want to do is if the value is >= .35 then make it the background of the cell Green , if the value is < .35 and > .30 then Yellow if the value is < .30 then Red . It's really doing my head in I just can't seem to get it to work with all 3 ranges. I can put in the background color properties of the cell the expression: =IIF(Fields!ID__to_Budget