ssrs-2008

How to use multiple IIFs condition in expression in SSRS Reports?

佐手、 提交于 2019-12-12 04:00:24
问题 I want to display records in MS SSRs based on multiple IFFs Condition. Any idea? Please help me! My table is "customers" and columns are "cust1", "cust2", "cust3", "cust4" if(cust1.value!=null) { display cust1; if(cust2.value!=null) { display cust1+","+cust2; } if(cust3.value!=null) { diplay cust1+","+cust2+"and+"+cust3 } if(cust4.value!=null) { diplay cust1+","+cust2+","+cust3+"and"+cust4; } }else diplay cust1; I just wrote C# syntax for understand logic. I want to display like result Ex:

How can I use SumProduct Function in SSRS?

我怕爱的太早我们不能终老 提交于 2019-12-12 03:49:02
问题 I have three columns in a SSRS table which record telephony data Row 1 is Calls Offered which is a straight count Row 2 is Calls Answered is as above Row 3 is a Service Level Percentage of Calls Answered/Calls Offered This table spans for 9 months and then there is a total column at the end Row 1 and Row 2 are easy enough because it's just a grand total but for Row 3 I need to do a weighted average for all the percentages across the 9 months So how can I do a SUMPRODUCT which will give me the

Need to set a date parameter on an SSRS subscription

心已入冬 提交于 2019-12-12 03:38:54
问题 I have a report in SSRS that takes a single date as a parameter. What I want is for that report to have a subscription that uses the Saturday of two weeks ahead as the date (i.e., Monday 7/4 would give Saturday 7/16). How can I do this in the subscription? Looks like I can't do a formula in the parameter. 回答1: You have to set the default parameter value in the report, not in the subscription. An expression to use in the default for the date parameter would look something like this. There both

Extend(wide) or Narrow titles by listing them in SSRS 2008

天涯浪子 提交于 2019-12-12 03:36:59
问题 I have a table in SSRS 2008 like: Zone NumOfPeople Zone1 50 Zone2 30 Zone3 20 What I want is to change the table into: Zone NumOfPeople + AllZones 100 When I click + sign, I expect to see something like: Zone NumOfPeople - AllZones Zone1 50 Zone2 30 Zone3 20 And clicking - sign should return the table to its first display. So I want to wide or narrow a table by clicking +/- like that. I could not find a related page that tells how to do it. I appreciate if anyone helps me to understand.

Results of calculating with Sum (expression) give a wrong number in SSRS

醉酒当歌 提交于 2019-12-12 03:36:02
问题 I have a column which should calculate some numbers and sometimes it gives me the correct sum and sometimes it doesn't. I don't know why! Can someone please point me in the right direction? I used this expression: =Sum(Fields!TotalEmployees.Value) When I don't choose something from filters on the top , it will give me the correct sum: And when I choose something from the filters on the top, for example between 2 dates, it will give me wrong the sum: Parameters & Body of report : @EndDateFrom

SRSS Expression to split strings excluding specific string

岁酱吖の 提交于 2019-12-12 03:23:25
问题 I have the following function (answered by someone on this forum in another question): Public Function mySplit(ByVal my_field As String) As String Dim result As String = "" If my_field is Nothing or my_field = "" Then Return result End If Dim TestArray() As String = my_field.Split(New Char() {" "c}) Dim word as String Dim counter as Integer = 0 For Each word In TestArray counter = counter +1 If counter = TestArray.Length Then result = result + word Else result = result + word + vbCrLf End if

How to change order of the table displays (page number) to keep the tables sequential

Deadly 提交于 2019-12-12 02:54:22
问题 I have a report in ssrs 2008, which includes 2 tables and 1 rectangle to keep them in separated pages like: Table 1 rectangle (it is blank - page break before is selected from its properties) Table 2 Both the tables are grouped by NAME, in their Row Group. Therefore, when I run the report the output is like: ------Page 1----------- Table 1 (Name:John) ------Page 2----------- Table 2 (Name: John) ------Page 3----------- Table 1 (Name: Mike) ------Page 4----------- Table 2 (Name: Mike) -----

Add sum of columns to chart SSRS

假装没事ソ 提交于 2019-12-12 02:50:56
问题 I have searched all over and cannot seem to find a definitive answer for this issue! I have a simple chat here grouped on the 5 categories below detailing the Sums of their SqFt. I want to add a Total Column to the graph ~(Total = 11M sqft). Can this only be done in SQL? It is a bit puzzling for me to do this because the query already sums the sqft for each row (as a nested query). I would need to Sum(sum(sqft)) in order to produce what I want, however, I dont believe this will work on the

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