ssrs-2008

How to fetch Physical SQL Query from a Semantic Query in RDL file?

烈酒焚心 提交于 2019-12-12 09:54:52
问题 How to fetch Physical SQL Query from a Semantic Query in RDL file? We have some following steps to go ahead while extracting the Semantic Query from RDL Extract the Semantic Query from RDL file Validate against the Semantic Model XSD Parse and Transfrom Semantic Query into a structure where we will be able to generate Physical SQL from Execute the conversion process to get physical query We accomplished step 1, We were able to Extract the semantic query from RDL and store it in XML Question 1

Bulk uploading images to SSRS

时光怂恿深爱的人放手 提交于 2019-12-12 09:05:47
问题 We have used the excellent RSBuild for bulk uploading reports to SQL Server Reporting Services (SSRS) but I find no way to bulk upload images. Using the Report Manager to upload one image at a time is silly. The difficulty is that the SQL Server Reporting web service that RSBuild uses doesn't support image uploads. Is there a way to bulk upload images to SSRS in some other fashion? 回答1: You will need to upload one image manually first so you read the contents of the Catalog table for the

How to display time value in a given string format within SSRS report?

落爺英雄遲暮 提交于 2019-12-12 08:48:33
问题 I want to Display time duration in SSRS report My DB field is time in SQL. It converts Timespan in SSRS. format is : 1:00 PM - 3:50 PM How can i do this ? Fields!StartTime.Value.ToString() + " PM - " + Fields!EndTime.Value.ToString() + " PM" is not working.. 回答1: Here is one possible way of achieving this with the help of Custom code in SSRS. Following example doesn't go into the details of creating SSRS reports but should give an idea of how the time formatting can be achieved within SSRS.

How Do I Resolve Report Deployment Error When Referencing System.Core (4.0) under SSRS 2008R2

▼魔方 西西 提交于 2019-12-12 08:02:15
问题 Preface: Development Environment: Visual Studio 2010 with BIDS + MSSQL 2012 on local box Production Environment: MSSQL 2008 R2 For Live Report Server I am having a problem with deploying a report when referencing System.Core in my report. The error is below. Error while loading code module: ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. Details: Could not load file or assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Subscribing to a report with different default parameters

自古美人都是妖i 提交于 2019-12-12 06:13:50
问题 I have created a report in VS2013. I have also created a Stored procedure that returns a dataset that works out Last_week_start, Last_week_finish, Last_month_start, Last_month_finish etc. I have done this so users can subscribe to these reports and get them emailed to them on a Monday for the weekly and on the 1st on the month for the monthly reports. Do I have to create separate reports for the weekly and monthly reports with different default parameters? ie Audit Report (weekly) and Audit

SSRS RB3 X-Axis last 30 minutes plus graphing 0 for gaps

心不动则不痛 提交于 2019-12-12 05:54:13
问题 I'm new to report builder and having trouble overcoming what I hope is a simple problem. We have a sql table holding error codes reported by a web application. These codes are logged along with a timestamp. My goal is to plot the number of errors in a line graph for the previous 30 minutes. I've got it to work using the datetimestamp field for the x-axis, however if no errors are logged for a specific minute, it doesn't show 0. Also if there hasn't been any errors for 20 minutes, the graph

SSRS Report Viewer doesn't detect datasource?

走远了吗. 提交于 2019-12-12 04:46:41
问题 I built a very simple report (.rdl) in ReportBuilder 3.0. It has a connection to my database, and gets city out of the address field. SELECT TOP 10 City, COUNT(City) FROM [MYDB].[dbo].[ResidentialAddress] WHERE StateName = 'WA' OR StateName = 'Washington' GROUP BY City ORDER BY COUNT(City) DESC This works in ReportBuilder. I save and close. Then I try to open and view the report in VS 2010 via MicroSoft.Reporting.WebForms.ReportViewer. I can load a completely blank RDL file (text only) in my

Can I run all the reports in a given folder from Report Server?

梦想的初衷 提交于 2019-12-12 04:45:56
问题 Having an issue with running reports here. I have a folder on the Report Server that contains several reports, reports are added and deleted on a weekly basis in this folder. I know how to run a given report, but ideally what I'm looking for is running all the reports in the folder, is this possible? Thank you in advance. Mike 回答1: This has different answers depending on whether you need to enter parameter values for any of these reports in order to run them. If you don't, or if the parameter

convert years and months into days in vb.net [closed]

一世执手 提交于 2019-12-12 04:35:48
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . convert years and months into days.first convert back to years and months and now want to convert back to days.code is like the one below if len >366 len1 = cstr (math.floor(len/365)) len = len mod 365 len1 = len

SSRS - Show only top 50 rows

坚强是说给别人听的谎言 提交于 2019-12-12 04:19:23
问题 I am using SSRS 2014 version. I have below SSRS report and I wanted to display only first 50 rows (Supplier), How can I do this please? MY SQL code is, SELECT s.[CusNo] Supplier, RTRIM(CAST(s.[Customer] AS VARCHAR(50)) ) AS Name, s.[ConcessionNo] Concession, RTRIM(CAST(s.[ConcessionName] AS VARCHAR(50)) ) AS ConcessionName, sum(case when s.Date between convert(date,dateadd(wk, datediff(wk, 0, getdate()) - 1, 0) - 1) and convert(date,dateadd(wk, datediff(wk, 0, getdate()) - 1, 0) + 5) then s