Follow us: Connect on YouTube Connect on YouTube Connect on YouTube

Pages

Monday, 18 April 2016

how to add summary column in oracle reports

Summary Column:
Summary columns are used for calculating summary information like sum, average etc,. on specific columns of a data group.  This column uses a set of predefined oracle aggregate functions. Summary columns are generally preceded by CS_ to distinguish them from other columns.

Ø Specific properties:
          - Function
          - Source
          - Reset At
          - Compute At
Ø Datatype depends on Source datatype.

Let us make sum of total salary

In the Data Model view that displays, click the summary column tool in the tool palette then click in an open area of the Data Model view to display the summary column as shown below


Double click on summary column you can find the properties and give below details as below
                    Name     : CS_SUM_SAL
                    Function : sum
                    Source    : sal  



Go to Layout Model add Text and field in main frame level as shown below


Select F_7 field and right click go to Property Inspector set below properties as shown below

            Name  :SUM_OF_SAL
            Source :CS_SUM_SAL


Now development part completed you can run the report

Goto >Programs > Run paper Layout (you can find as below report output)

Share this article :

2 comments:

  1. I have read your blog and I gathered some needful information from your blog. Keep update your blog. Awaiting for your next update.
    Php course in chennai

    ReplyDelete
  2. Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging, https://view.ly/v/MXfpB9r8EUb2

    ReplyDelete