reporting-services

SSRS: Getting a specific value from different rows of a dataset

江枫思渺然 提交于 2019-12-10 20:44:32
问题 I'm sitting here, working with SQL Server Reporting Services and I am stuck with the following problem: I have written an SQL Statement which returns for a Client for every day of the year if he was absent or not. So for example the result could look like this: ------------------- | Date | Absent | ------------------- | 01.01. | True | | 02.01. | False | | . | . | | . | . | | 31.12. | False | ------------------- Now for the Report I want to use a Tablix where I have the days as column headers

ReportViewer control not displaying reports

我是研究僧i 提交于 2019-12-10 20:35:32
问题 I have looked just about everywhere for a solution to this issue and have not found one that has worked for me yet. I have a reporting server (2008 R2) set up on our hosting server. I have created a report from scratch using the report builder, tested it out while logging into the report server with its URL and it successfully generates reports. When I try to view the report from our MVC application, only the reports toolbar renders (showing export, print, pages, and the view report button).

SSRS where install the font?

强颜欢笑 提交于 2019-12-10 20:02:16
问题 Simple question that I can not found a simple answer. I am using a Reporting Server to generate my reports, and the reports use a custom font My question is I need to install the custom font on all machines that will run the report or only on the server? The company uses SSRS 2008 回答1: Only Installing the font on the reporting server and then enabling the font embedding should do the magic. For font embedding, see this link: Exporting to a PDF File and Font Embedding. 来源: https:/

IsNothing not working on empty value in report builder

為{幸葍}努か 提交于 2019-12-10 19:59:40
问题 I have an expression in a table that checks if there was a return value. If the query returns empty or null I want to set the value to 0 . =IIF(IsNothing(Fields!DndCount.Value),0,Fields!DndCount.Value) But if the query returns empty IsNothing() does not work. 回答1: I have tried this code and it worked for me. IIF(Sum(Fields!DndCount.Value)Is Nothing, "0", Sum(Fields!DndCount.Value)) 回答2: Alternative solution to avoid using expressions, change the cell format to #,##0 in properties. Easier then

SSRS combine multiple datasets into one graph

拥有回忆 提交于 2019-12-10 19:47:01
问题 I've been looking around online for a way to fully combine datasets in SSRS (2008 R2). Basically, I need to create a single table and graph composed of a number of different datasets (all with the same columns as below) which are retrieved from multiple sql servers (preventing me from combining them in a single query) Can the datasets be combined into a single dataset or table from which I can produce a single graph (this is the requirement I was given) as shown below? Thanks in advance.

SSL/wallet error trying to access Oracle DB from SSRS

落爺英雄遲暮 提交于 2019-12-10 19:24:21
问题 I'm trying to access a third party Oracle database from SQL Server Reporting Services. I had it working on previous versions of SQL Server and Oracle ODAC, but it's been several years. I'm now being forced into an upgrade, and when I try to create the data source in SSRS, I get the following error: Network Transport: SSL failure in parsing wallet location I created an ODBC connection and am able to successfully test the connection, so I know all of the settings in tnsnames.ora and sqlnet.ora

SSRS trouble using DateDiff in a IIF statement

老子叫甜甜 提交于 2019-12-10 19:17:55
问题 SSRS returns an #error when the statement is False , but No Start Date when the statement is True. I tested and the DateDiff is correct in the False side of the statement. I'm not sure which direction to go from here. Thank you. =IIF(Fields!JobOrderIssueDate.Value = "", "No Start Date",DateDiff("d",Today(),Fields!ProjectedConstEndDate.Value)) 回答1: You are mixing data types in your IIF returning either a STRING or a DATE depending on the condition of the IIF . This is not going to work. One

Cannot find Microsoft Dynamics CRM Fetch Type in SSRS

两盒软妹~` 提交于 2019-12-10 19:13:53
问题 I'm trying to create a report in SSRS (Visual Studio 2012) for Dynamics 2011 using fetchXML. I have downloaded and installed the Microsoft Dynamics CRM 2011 Report Authoring Extension (with SQL Server Data Tools support) but I cannot find the Microsoft Dynamics CRM Fetch Type when I try to create a report, please, does any one have any suggestions? 回答1: Probably you are trying to create the report in some already existed project, I had the same issue with VS2010 in that case. To make Fetch

Use of Previous() function in reverse date sorted data in SSRS?

依然范特西╮ 提交于 2019-12-10 19:03:40
问题 I'm trying to use the Previous() function in a report indicator to display an up or down arrow depending on if there has been an increase or decrease from last year. This works fine when the data is displayed in ascending order, but when displayed in ascending order the Previous() function no longer works, it just treats the top row as the oldest. I've created a custom code.PercentDifference (Num, PrevNum) to get the differences. To illustrate, this is a table in SSRS, Year Change is a

Using SSRS Expressions to see which options a user has selected from a multivalued parameter?

主宰稳场 提交于 2019-12-10 18:58:46
问题 I'm trying to set up a filter against a "Totals" column in an SSRS report using an expression for the field. I have a multivalued parameter setup with the values value1, value2, value3, and value4 as options. Before the filter, this totals column just simply added the integer values from the different columns. I want to add functionality to where you can check which of the values the user has selected. Similar to below (Pseudo code, because I can't figure out the syntax): =IIF(Parameters!