reporting-services

How do I display 'No data available.' when there are no rows to show on the report?

末鹿安然 提交于 2019-12-17 18:48:46
问题 I am building an SSRS 2005 report using BIDS. My report filters on date. When the selected date returns no data rows the report is blank, just the title is displayed, no table or column heading. How can I change this to display a message like No data available. or Report is empty. ? 回答1: You could set the property NoRowsMessage available on the report's table control like this: Select the Tablix control and press F4 to view the Properties pane. Find the NoRowsMessage property and set the

Listing all Data Sources and their Dependencies (reports, items, etc) in SQL Server 2008 R2

若如初见. 提交于 2019-12-17 18:05:11
问题 I am new to SQL Server, and I am sorry if there is an obvious solution to my question but I can't seem to find it. I am looking to generate a report (or list) of all the data sources and their individual dependencies on an SQL Server 2008 R2 (reporting server). I know that I can access each individual data source to get a list of all the items that are dependent on it. I have done this in the past but it is time consuming. Is there a way to get a report that would display all the data sources

SSRS expression replace NULL with another field value

半世苍凉 提交于 2019-12-17 17:48:07
问题 I need to write an SSRS expression to check and replace NULL field value with another field value. Can this be done? 回答1: =iif(isNothing(Fields!FV1.Value), Fields!FV2.Value, Fields!FV1.Value) 回答2: If you have to do it a bunch of times, you can also make a reusable function to avoid a lot of typing. Here's a solution modeled off of SQL's ISNULL function: Right click on the Report Document and go to Report Properties. Navigate to the Code tab and add the following function: Public Function

Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL

為{幸葍}努か 提交于 2019-12-17 17:07:03
问题 I'm using SSRS SDK for PHP PHP Version 5.4 WebServer: Centos 6.4 MSSQL Server 2008 R2 When I make $ssrs_report = new SSRSReport(new Credentials(UID, PASWD), SERVICE_URL); I got the following error Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://172.16.4.63/ReportServerURL/Pages/ReportViewer.aspx?%2fTestFolder%2ftestClaimHdr&rs:Command=Render/ReportExecution2005.asmx?wsdl' : Premature end of data in tag html line 1 in /var/www/emilio/app

SSRS percentage of a total

巧了我就是萌 提交于 2019-12-17 17:01:18
问题 I would like to be able to get the percentage of each row with relation of the whole total. Here is my formula: =COUNTDISTINCT(Fields!ID.Value, "NameOfRowGrouping") / COUNTDISTINCT(Fields!ID.Value, "TopLevelGroupName") The percentage it comes out is the percentage between row total and total of each group: Group Qty % --------------------- Group 1 MemberA 3 40% MemberB 4 60% Total 7 Group 2 MemberC 2 50% MemberD 2 50% Total 4 Grand Total 11 I need to know the percentage with relation of the

How to pass textbox/Combobox value to rdlc report text field?

安稳与你 提交于 2019-12-17 16:50:29
问题 c#, mysql in my project. In that i create a rdlc report. I dont know to pass winform textbox value to rdlc report text field. I googled and try some set of code. but cant get that. If you worked in report. please help me. My requirement is,.. I am doing college project. In that they asked bonafide certificate. So i create a winform With reportviwer, name, course, year, semester, academic year, purpose textboxs and one button. Click the button when the textboxes are filled. those text values

How to combine aggregates within a group with aggregates across groups within SSRS

不羁岁月 提交于 2019-12-17 12:46:20
问题 With this dataset: Category | Amount A | 5 A | 3 B | 6 B | 2 B | 1 C | 7 I want to create a tablix grouping on category, displaying the percentage of the total amount: Category | Percentage A | 33% B | 38% C | 29% Which should be a simple calculation: Category | Percentage A | ((Sum of Amount within group / Sum of Amount across groups) * 100)% B | ((Sum of Amount within group / Sum of Amount across groups) * 100)% C | ((Sum of Amount within group / Sum of Amount across groups) * 100)% But I

Programmatically Export SSRS report from sharepoint using ReportService2010.asmx

喜欢而已 提交于 2019-12-17 11:54:44
问题 I have to programmatically export ssrs reports to excel, added service refernce to http:/siteurl/_vti_bin/ReportServer/ReportService2010.asmx http:/siteurl/_vti_bin/ReportServer/ReportExecution2005.asmx Can somebody provide a working blog 回答1: I do this for my work currently with VS 2012 .NET 4.5 for reporting automation for PDF reports. A. For ease of use compiling your own proxy class is easier than referencing the web service each time as you may forget the service name. From Visual Studio

How do i represent an unknown number of columns in SSRS?

你。 提交于 2019-12-17 11:15:12
问题 I'm working on a rather complex report in Sql Server Reporting Services. My SP returns a dynamic number of columns each of which are dynamically named. Basically think of a time keeping application. Each column that is dynamic represents a time bucket that time was charged to for that team. If no time was charged to that bucket for the period of time the report covers it doesn't show. Each bucket has its own identifier which i need to be the column headers. I have an SP that returns this all.

How do i represent an unknown number of columns in SSRS?

纵饮孤独 提交于 2019-12-17 11:15:11
问题 I'm working on a rather complex report in Sql Server Reporting Services. My SP returns a dynamic number of columns each of which are dynamically named. Basically think of a time keeping application. Each column that is dynamic represents a time bucket that time was charged to for that team. If no time was charged to that bucket for the period of time the report covers it doesn't show. Each bucket has its own identifier which i need to be the column headers. I have an SP that returns this all.