reporting-services

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

SSRS Grouping and repeat in 3 columns

混江龙づ霸主 提交于 2019-12-12 04:38:23
问题 I am new to SSRS report. I'm trying do make a report like the following snapshot. I'd like to represent the grouping data in 3x3 format. I've already making the red rectangle one, but I've tried some ways to make it shows as 3x3 in one page, but still in vain. I was wondering if anyone can give some suggestions? Thanks. 回答1: If you are sure that each time, you know 3x3 columns and rows , why don't you just replicate the columns and tablix ? For example, instead of 5 columns , use 15 columns

SSRS Express 2012 - The specified report server URL could not be found

你。 提交于 2019-12-12 04:38:19
问题 I know several similar questions to this have been posted, but I've walked through each of the provided solutions and nothing seems to resolve this issue... I have SQL Express 2012 installed, and have created a simple report and want to deploy it to my local Report Manager website. Every time I try to deploy it from VS, I'm getting an error message that says "The specified Report Server URL "http:///Reports_SQLEXPRESS" could not be found. Verify the syntax of the URL and that the report

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 report with muliple datasets

允我心安 提交于 2019-12-12 04:30:36
问题 I have added a separate dataset to an SSRS report...it contains some similar tables as another dataset. When I go to write expressions the fields in my new dataset have a "SUM" in front of the field numeric fields and "First" in front of the char fields??? Now I can't pick the numeric field for my report because it will "SUM" up all the data 回答1: Just remove the SUM() portion once you add the field. Perhaps it is there because of the scope of the bound item. There is no harm in removing the

Reports using microsoft viewer

谁都会走 提交于 2019-12-12 04:21:07
问题 How to create parametrized reports using microsoft report viewer? 回答1: Put more details in your question, but as i understand the MSDN ReportViewer Controls will be very nice to you learn more by yourself. 回答2: Check out http://www.youtube.com/watch?v=sXJmRHgSAS8&feature=related 回答3: For one thing, I would avoid the Microsoft report viewer control. Just use a browser control, and browse to the report, passing in the parameters in the URL like you would when using a browser. This is much

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

Grouping in SSRS?

六月ゝ 毕业季﹏ 提交于 2019-12-12 04:06:26
问题 I am new to the SSRS and Have data like to be present as below. They are all from the same dataset, just like to group 2 columns, that is [WrkCrtId, Name] show on top of them. I've tried some ways to do this but still fail, I was wondering if any one can help? p.s. the image below shows 2 groups (B3 and B7) 回答1: This is fairly simple to do. This is a quick summary of the things to do from memory so it may not be 100% correct. Add a table to your report and add your 6 detail columns as you

Display TimeSpan correctly in SSRS

狂风中的少年 提交于 2019-12-12 04:05:14
问题 I have a TimeSpan value of 00:02:02.0 basically 0 hours 2 minutes 2 seconds and 2 milliseconds. I will always have 0 hours. How do you format ssrs to read 2.02.0? I know you can do =Fields!FinishTime.Value.ToString("mm:ss:fff") however it always produces #error as value. Thanks! 回答1: You are pretty close, ToString() is correct since SSRS doesn't know how to work with TimeSpans, but you'll need to wrap a Format around it to use the format string and convert it back to a date to use the date