Results 1 to 4 of 4

Thread: How to sum groups of data sql server reporting services

  1. #1
    Join Date
    Apr 2009
    Posts
    67

    How to sum groups of data sql server reporting services

    I have created a report where I need to put the sum of all the records mentioned in the sheet, but now i wanted add the second sheet's column in the previous sheet column, and display a further sum in the footer of group2. I'm struggling a little to explain this but the following is what I do in Crystal 9. Along with this Is there a way around this, to use a connection string from a database? I am using SQL Server 2008 Reporting Services.

  2. #2
    Join Date
    Oct 2008
    Posts
    68

    Re: How to sum groups of data sql server reporting services

    Expressions are used frequently in reports to control content and report appearance. I searched through at least 20 forums and none of them had a solution, I want to accept my solution as the final solution for all future purposes of people trying to find the answer to this puzzle Expressions are written in Microsoft Visual Basic, and can use built-in functions, custom code, global variables, report and group variables, and user-defined variables.

  3. #3
    Join Date
    Oct 2008
    Posts
    80

    Re: How to sum groups of data sql server reporting services

    You can use Visual Basic functions to manipulate the data that is displayed in text boxes or that is used for parameters, properties, or other areas of the report. I have had this working in SSRS 2005 by storing the connection string in a hidden report parameter, then setting the connection string of the second query using that parameter. This section provides examples that demonstrate some of these functions.

  4. #4
    Join Date
    Oct 2008
    Posts
    77

    Re: How to sum groups of data sql server reporting services

    You might have to use DATEPART function to get day equivalent and use it in a CASE statement to determine whether working day or not. You can use Visual Basic functions to convert a field from the one data type to a different data type. Conversion functions can be used to convert a the default data type for a field to the data type needed for calculations or to combine text. The display format can be done in RS designer by using a table container.

Similar Threads

  1. Replies: 5
    Last Post: 03-09-2011, 10:59 PM
  2. Replies: 4
    Last Post: 24-10-2010, 05:58 AM
  3. Computer is reporting more data on C drive than actual
    By Farrah in forum Operating Systems
    Replies: 5
    Last Post: 23-02-2010, 05:52 AM
  4. Congfigure SQL Server Reporting Services
    By Laler in forum Networking & Security
    Replies: 3
    Last Post: 22-04-2009, 11:40 AM
  5. Converting RDL reports in SQL Server 2008 Reporting Services
    By Maximus() in forum Networking & Security
    Replies: 1
    Last Post: 05-01-2009, 10:12 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,234,544.36792 seconds with 17 queries