ssrs-2008-r2

SQL - combine consecutive date rows based on column

血红的双手。 提交于 2019-12-05 21:27:49
Let's say I have the following SQL result BegDate | EndDate | quanitty 1/1/2014 1/31/2014 1 2/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 4/30/2014 4 5/1/2014 5/31/2014 4 6/1/2014 6/30/2014 4 7/1/2014 7/31/2014 2 8/1/2014 8/30/2014 2 I need to group all months with the same quantity into one row so the result should be BegDate | EndDate | quanitty 1/1/2014 2/28/2014 1 3/1/2014 3/31/2014 2 4/1/2014 6/30/2014 4 7/1/2014 8/30/2014 2 I've searched around stackoverflow and found similar posts which solution's I've tried to no avail This and This The following is the SQL i'm using to create the

Interactive sorting In SSRS on Values - Matrix report

大憨熊 提交于 2019-12-05 16:22:27
I want a interactive sorting in SSRS matrix report. From database we are getting 3 columns -PrimaryKey,Columns and Value. We are grouping rows by Primary Key and grouping column by Columns and use Value as data. My Matrix Report - ID [Columns] [Primary Key] Values Output of the Matrix report - ID FirstName MiddleName Lastname 1 Rajiv Jha Sharma 2 Prem Kumar Bose 3 Usha Shamila Praveena I am able to use the interactive sorting on ID because ID is group by rows but I want to use the interactive sorting on dynamic cloumns values like FirstName,MiddleName and LastName. Expected result when we

Can I create SSRS Reports in VS 2015 using SQL Server 2008 R2?

≡放荡痞女 提交于 2019-12-05 04:08:22
I'm new to SSRS. Recently upgraded my development environment from Visual Studio 2010 to Visual Studio 2015 Enterprise Edition. Currently my reports are made using Crystal Reports. I would like to to use SSRS and I'm trying find out my current environment will allow me to do it. So now I'm using Visual Studio 2015 and SQL Server 2008 R2. Can I create SSRS Reports using these two? If yes, how can I create it? I know how to create a report and publish it using the Business Intelligence Development Studio in SQL Server 2008 R2. But could not understand how I could use those reports in my

SSRS 2008 report not working with using a stored procedure

时间秒杀一切 提交于 2019-12-04 21:29:18
In a new SSRS 2008 report, I am going to change the inline SQL to a stored procedure since that is a requirement for the project I am working on. The SQL works fine within the SSRS 2008 report, but has a problem in the stored procedure. The error message that is displayed is the following: Query execution failed for dataset Msg 8114, Level 16, State 1 Procedure spRec, line 0 Error converting data type varchar to int. The stored procedure works if I select only 1 report. However if I select 2 or more reports that is when the above error occurs. The SSRS 2008 report has 18 embedded tablixes

How to cascade parameters in SSRS having specific values

假装没事ソ 提交于 2019-12-04 05:56:47
问题 I have 2 parameters 'Groupby1' and 'Groupby2' in my report,for the first parameters i have specified some values like Column A,column B,Column C. Now i need to make the 2nd parameter cascading based on the first one like if i select Column A in Groupby1 parameter it should display only Column B and Column C in Groupby2 parameter.Is this achievable? 回答1: Yes, it's easily achievable. The trick is to make a dataset dependent on just the first parameter, and use it's results for the available

I want Datetime Parameter in DDMMYYYY Format in ssrs report

。_饼干妹妹 提交于 2019-12-04 04:42:53
问题 I want to change the Datetime parameter to DDMMYYYY format.its default value is MMddYYYY.when user will select date from date picker the date should be display in ddmmyyyy format. I tried all expression like =Format(Parameters!DateFrom.Value, "dd/MM/yy") =cdate(format(DateAdd("d", -61, now),"dd/MM/yyyy")) =cdate(format(DateAdd("d", -61, now),"dd/MM/yyyy")) but all doesnt work. 回答1: Necromancing. Yes, you can - sort of. First, notice that SSRS takes the date format from the language that is

How to sum SSRS Matrix Columns on Row Group

对着背影说爱祢 提交于 2019-12-03 13:38:43
I have a report that displays the total hours a person worked for each project they are assigned to, aggregated on month. I would like to sum the total hours for each person, for each month, in SSRS 2008 R2. So, for example, I have the follow data and would like to column totals like so: January February March Worker 1 Project1 50 80 20 Project2 30 10 60 Project3 10 40 5 Total: 90 130 80 Worker 2 Project1 20 40 60 Project2 10 30 10 Porject3 30 10 50 Total: 60 80 120 Everything I have tried so far either sums each column for all workers combined (summing by 'Month' column group) or sums all

SQL Server Reporting Services 2008 R2 always show for login prompt

不问归期 提交于 2019-12-03 06:10:52
Whenever I try to access SSRS 2008 R2 through a URL (i.e. after being published on the net), it always shows a login prompt when accessing the report. The problem does not appear in the development environment. How do I prevent this login prompt from showing whenever I try to access a report? For the time being, we are solving this problem by providing a username and password in <appSettings> in the web.config. Once this change is made, the login prompt does not appear. Is there a better solution to this? Am I doing this the wrong way? I am assuming the prompt is for the username / password

How to cascade parameters in SSRS having specific values

十年热恋 提交于 2019-12-02 12:32:27
I have 2 parameters 'Groupby1' and 'Groupby2' in my report,for the first parameters i have specified some values like Column A,column B,Column C. Now i need to make the 2nd parameter cascading based on the first one like if i select Column A in Groupby1 parameter it should display only Column B and Column C in Groupby2 parameter.Is this achievable? Yes, it's easily achievable. The trick is to make a dataset dependent on just the first parameter, and use it's results for the available options of the second parameter. A little more detail on how you'd make that happen: Create the first parameter