ssrs-2008

sql query problem when reporting

故事扮演 提交于 2020-01-15 11:14:28
问题 I have this sql query that it's all working fine but i want to parse the 'where part' using a parameter (@ged) when i try this in sql it work fine..but i can't get it working in crystal report or sql reporting service in this query ..@J_Sec is a parameter and @ged is the rest of the where statment CREATE proc [dbo].[con] @J_Sec as nvarchar(255), @ged as varchar(max) as declare @sql as varchar(max) set @sql=' select (case when c.Age_18_24=1 then ''18-24'' when c.Age_25_29=1 then ''25-29'' when

Create Microsoft SQL Report (SSRS) based on XML data stored in database

邮差的信 提交于 2020-01-13 12:08:48
问题 I'm trying to create a Microsoft SQL Report in Visual Studio 2012. My data input for the report is an XML binary file stored in a database. To break it down, this is what I would like to do: Retrieve the XML binary file from the database Populate the report with the content of the XML Create a PDF version of the report Step 1 and 3 are not a problem. But step 2 is. I don't know how to use the XML data in a dataset so I use it in the report. Is there something fundamental I'm missing? I have

How do I export a SSRS matrix to CSV without losing the structure?

牧云@^-^@ 提交于 2020-01-13 11:53:11
问题 Consider the following data source: declare @Test table (EmpId int, ProdId int, Sold int) insert @Test (EmpId, ProdId, Sold) values (1, 1, 1) insert @Test (EmpId, ProdId, Sold) values (1, 2, 2) insert @Test (EmpId, ProdId, Sold) values (1, 3, 3) insert @Test (EmpId, ProdId, Sold) values (1, 4, 4) insert @Test (EmpId, ProdId, Sold) values (2, 1, 5) insert @Test (EmpId, ProdId, Sold) values (2, 2, 6) insert @Test (EmpId, ProdId, Sold) values (2, 3, 7) insert @Test (EmpId, ProdId, Sold) values

How do I export a SSRS matrix to CSV without losing the structure?

陌路散爱 提交于 2020-01-13 11:52:17
问题 Consider the following data source: declare @Test table (EmpId int, ProdId int, Sold int) insert @Test (EmpId, ProdId, Sold) values (1, 1, 1) insert @Test (EmpId, ProdId, Sold) values (1, 2, 2) insert @Test (EmpId, ProdId, Sold) values (1, 3, 3) insert @Test (EmpId, ProdId, Sold) values (1, 4, 4) insert @Test (EmpId, ProdId, Sold) values (2, 1, 5) insert @Test (EmpId, ProdId, Sold) values (2, 2, 6) insert @Test (EmpId, ProdId, Sold) values (2, 3, 7) insert @Test (EmpId, ProdId, Sold) values

SSRS 2008 - Reporting Services Webpage is Blank except for headers

余生颓废 提交于 2020-01-13 11:24:19
问题 I'm getting blank page when I open the Report Manager: I've got a header - "...Reporting... HOME", and then just empty space. I'm on SQL 2008 and Windows Server 2008 R2 Standard. Any ideas how to fix? I've confirmed that I am logged in as a local administrator. I tried adding the URL to trusted sites but that didn't seem to help either. Update When I go to the ReportServer URL I get this error message: Reporting Services Error ------------------------------------------------------------------

Pass a parameter value to a Dataset Parameter in SSRS 2008

谁说我不能喝 提交于 2020-01-12 08:47:11
问题 I have a dataset with a parameter as which is passed to a query as shown below. The issue here is DataSet parameter queryOptions does not accept the value from the Report Parameter Date . If i hardcode any value e.g <CalendarDate> 08/11/2012 </CalendarDate> instead of <CalendarDate> = Parameters!Date.Value </CalendarDate> the report works fine. What wrong am i doing while passing parameter. I even created another Dataset Parameter named Date and assigned Parameter Value [@Date] even that did

Using a shared data source for dynamically generated and deployed reports

前提是你 提交于 2020-01-12 04:34:31
问题 I'm dynamically generating RDL files for SSRS 2008, assembling my reports from "building blocks" which I defined as reports on Report Server, and which I use as subreports on my generated report. On my Report Server, I have a single, shared data source which does work as long as I run stuff directly on the report server. What I'm trying to accomplish is this: my generated main report should reference that shared data source my subreports contained on the generated main report should also use

Add ssrs report description

微笑、不失礼 提交于 2020-01-11 11:34:34
问题 Anyway I can add a ssrs report description that displays in the report before execution? I Googled and most people said its not possible but there has to be a way to tweak it right? 回答1: For anyone who still needs to add a report description that users can read before executing the report, I have seen this feature in both SSRS versions I have used (2008 and 2016). The Report Properties has a Description field, which users can read when accessing the web portal in either view (Tiles or Details

Creating a report with SSRS that iterates over a parameter

人走茶凉 提交于 2020-01-11 09:49:40
问题 I am modifying an existing report which is setup to let you view statistics per sales rep. You do this by changing the parameter sales rep in the report view. I need to modify the report so that it can display a page for each sales rep. This will then be exported to Excel with each sales rep statistics being displayed in a separate tab. I have researched this and found people talking about iterating over a report but I don't think that what they are referring too is what I am asking: http:/

SSRS Dynamic Shared Data Source

a 夏天 提交于 2020-01-11 09:01:12
问题 I have an ASP.Net Web site that displays various SSRS reports using the Microsoft Report Viewer Control. I need to be able to specify a data source at runtime. It seems like I should be able to just specify the name of a "shared" data source when I render the report, but I sure can't find a way to do that. The only thing I've found so far that works is to use an "embedded" data source. I'm not real crazy about that, but if that's my only option it will have to do. Anybody know how to specify