ssrs-2008-r2

Merging multiple Rows in ssrs report to a single one

谁说胖子不能爱 提交于 2019-12-08 05:02:42
问题 I need help regarding SSRS Reporting my data is Coming from a Query and I also have added the Column Group Named as Subject Name Showing on the top of the Table() Also Added ApplicantID as Row Group and FName as a Row Group in the Report to fulfill my requirement that was just to show Since I am not Sure how many subjects a user can select its all decide on the run time so i did added the Subject name as a column group All the Subject records in a single row for a specific ApplicantId Instead

SSRS Conditional Formatting

自古美人都是妖i 提交于 2019-12-07 20:14:51
问题 I am working on SSRS Ranking report, where Rank 1 should have background of Green and last Rank should have background of Red. Example below: I tried using custom code but that's not working for me as below: SSRS Expression used as below: =Code.RankColour(me.value, 1, Fields!RankName.Value) And RankColor code as below: Public Function RankColourTotals(ByVal Value As Decimal, ByVal MinValue As Decimal, ByVal MaxValue As Decimal) As String Dim strColor As String Select Case Value Case MaxValue

how to migrate or copy SSRS datasource from one server to another without restoring the report server

半世苍凉 提交于 2019-12-07 13:13:15
问题 I'm trying to migrate SSRS report from SQL 2008r2 to SQL 2014 server. I used reportsync to transfer the report to the server. the reports are successfully transferred but however the roles subscriptions and datasources are not transferred. Is there is any way to copy or migrate the data sources, roles and subscription from one server to another without restoring the report server database?. Thanks. 回答1: I have used these migration tools which doesn't help me much. i found the below link after

SQL - combine consecutive date rows based on column

百般思念 提交于 2019-12-07 13:00:08
问题 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

Interactive sorting In SSRS on Values - Matrix report

谁说我不能喝 提交于 2019-12-07 09:42:49
问题 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

SSRS 2008 report not working with using a stored procedure

末鹿安然 提交于 2019-12-06 16:18:00
问题 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

SSRS Conditional Formatting

十年热恋 提交于 2019-12-06 11:31:52
I am working on SSRS Ranking report, where Rank 1 should have background of Green and last Rank should have background of Red. Example below: I tried using custom code but that's not working for me as below: SSRS Expression used as below: =Code.RankColour(me.value, 1, Fields!RankName.Value) And RankColor code as below: Public Function RankColourTotals(ByVal Value As Decimal, ByVal MinValue As Decimal, ByVal MaxValue As Decimal) As String Dim strColor As String Select Case Value Case MaxValue strColor = "Salmon" Case MinValue strColor = "LightGreen" Case Else strColor = "Gainsboro" End Select

How to span months and years in SSRS graph axis?

烂漫一生 提交于 2019-12-06 10:33:08
问题 I really like the spanning of Months and Years in the x-axis in the following SSRS graph: How do I do that!? 回答1: Split the dates into several columns in the Dataset: Add those columns as Category Groups of your bar chart: 来源: https://stackoverflow.com/questions/27025206/how-to-span-months-and-years-in-ssrs-graph-axis

How to hide parameter based on another parameter value in SSRS

痴心易碎 提交于 2019-12-06 08:23:55
Hi I have 2 parameters param1 and param2. param1 has values true and false.my requirement is if i select true in param1 then param2 should be hidden and if i select false in param1 then param2 should be visible. can this be achieved in SSRS? sajad As per Nathan's comment i am adding Amar's comment here as answer/partial answer Unfortunately, you cannot change a parameter's visibility during run time. Alternatively, you can control the second parameter's values based on the selected value of the first parameter. Check this post - Hide parameter (dropdown control from the toolbar) in SSRS based

how to migrate or copy SSRS datasource from one server to another without restoring the report server

久未见 提交于 2019-12-05 23:56:23
I'm trying to migrate SSRS report from SQL 2008r2 to SQL 2014 server. I used reportsync to transfer the report to the server. the reports are successfully transferred but however the roles subscriptions and datasources are not transferred. Is there is any way to copy or migrate the data sources, roles and subscription from one server to another without restoring the report server database?. Thanks. I have used these migration tools which doesn't help me much. i found the below link after a lot of struggle trying different things https://azuresql.codeplex.com/releases/view/115207 https://msdn