ssrs-2008

Column and Row grouping in SQL Server Reporting Services 2008

走远了吗. 提交于 2019-12-05 15:41:33
This is the desired result I need to populate as a report, where xx is number of people. I have a table which has fields like: ---------- table1 ---------- id state year(as Quarter) gender I need to determine the count from id and populate as a report. The year is like 20081, 20082..20084 (in quarter). I have created a dataset using this query: SELECT STATE,GENDER,YEAR,COUNT(*) FROM TABLE 1 GROUP BY STATE,GENDER,YEAR From this query I could populate the result ex: ca, m , 20081,3 ny, f , 20091,4 From the above query I could populate the count and using group by(row) state(in ssrs). I need to

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

亡梦爱人 提交于 2019-12-05 15:09:35
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 created many reports before by using just data from a database but never from XML. Thank you. Serge

Pie chart not showing all the values in SSRS 2014

╄→尐↘猪︶ㄣ 提交于 2019-12-05 13:06:01
I created the pie chart in SSRS as given below. I enabled the labels by right clicking on pie chart and click show labels. When I preview the chart I cant see all the labels. The only label visible is for the biggest portion in the pie. I tried to increase the size of the chart but no effect. Any idea? No info is available but finally I learned the trick. I think there is a bug because of which only one label is shown (403 in my case) on the pie chart. To solve the problem follow the steps: Right click on the pie chart and change it to line chart. Now on individual bar right click and select

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

大兔子大兔子 提交于 2019-12-05 12:29:19
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 (2, 4, 8) select * from @Test I create a Sql Server Reporting Services (SSRS) 2008 R2 report that

SSRS Report - IIF statement Question

旧街凉风 提交于 2019-12-05 10:34:45
Doing an expression I get an error, can someone show me the correct syntax here? =IIf(Fields!t_cpcp.Value ="310", "Purchased Material & Raw Material", Nothing) =IIf(Fields!t_cpcp.Value ="320", "Manufacturing Direct Labor", Nothing) =IIf(Fields!t_cpcp.Value ="325", "Subcontract Cost", Nothing) =IIf(Fields!t_cpcp.Value ="330", "Engineering Direct Labor", Nothing) =IIf(Fields!t_cpcp.Value ="340", "Manufacturing Labor O/H", Nothing) =IIf(Fields!t_cpcp.Value ="345", "Engineering Labor O/H", Nothing) =IIf(Fields!t_cpcp.Value ="350", "Material O/H", Nothing) =IIf(Fields!t_cpcp.Value ="355", "Labor O

Error: Subreport could not be shown. Sub Report works in Preview - but not when deployed

筅森魡賤 提交于 2019-12-05 09:39:26
I have a main report that runs multiple sub-reports. One of my sub reports runs perfectly fine in Preview, but when I deploy the report and run it from the browser, i simply get: Error: Subreport could not be shown. I've done some research and I am still not sure what the issue is. I've tried it in different browsers, my data sources for both the main report and sub report use the same shared data sources. And the main report and the parameters seem to pass fine (since it works in preview, I am assuming). The error doesn't tell me much - has anyone else had this issue? Or any ideas how to

SSRS default parameter values in subscription

谁都会走 提交于 2019-12-05 09:10:14
问题 I have a report that has two required date parameters which the user enters. I want to create a subscription that runs on Friday that pulls for the previous week's Sunday through Saturday period. So for example, for this coming Friday, the subscription would pull for Jan 29 - Feb 4. I've tried =Now(), =Today(), @ExecutionTime and then subtracting the number of days but all I get is errors. Is this possible to do? I did see this link but I wonder if there's a better way. http://www

SSRS reports is showing as listed directory

假如想象 提交于 2019-12-05 08:09:12
How can I get SSRS reports to show a web page view? When I go to the SSRS reports page, it's not showing the web page view. It shows a list of data sources, data sets and report folders. After going inside the reports folder, I can invoke the report by clicking on them without any issues. https://docs.google.com/file/d/0B55EKwlB3BuINk1GeU9WRUoxM1E/edit?usp=sharing Please look at the image above. You're browsing to the Report Server web service , typically http://server/ReportServer . Sounds like you're after the Report Manager website, typically http://server/Reports . Web Service URL: Report

Getting the error “Data retrieval failed for the subreport, 'Subreport1'” while trying to preview a report from Business Intelligence Studio

梦想与她 提交于 2019-12-05 07:25:35
I know this question has been asked before, but all questions were for reports being accessed using C# or vb.net code. My problem is that i am building and accessing the report using Business Intelligence studio, I am basically trying to add a sub report for a report, and I made sure from the parameters and they are ok. However when i try to access the report containing the subreport, I get the error "Data retrieval failed for the subreport, 'Subreport1'". I also tried deleting the .data files but the same problem persisted. I faced similar issue in past and in my case below were the culprit's

Is there a report tool that allows users to create their own reports?

人盡茶涼 提交于 2019-12-05 07:22:40
I have looked around a bit but I can't find a tool that fit my needs. What I need is a tool that allows users to create their own reports preferably from a web interface where the user is able to create charts, diagrams and tables . Therefore the tool needs to be able to handle several users and restrict the users to a certain database . I have looked at Crystal Reports and SSRS and neither of them seems to support what I want or am I missing something? So, you're looking for a web-based limited version of Crystal Developer? I can't imagine a user audience that is skilled and motivated enough