Conditional Summary

  • Last update:  2020-12-10
  • I. Overview

    Hierarchical coordinates can be used to count all eligible data by criteria. This documents covers two scenarios:

    • To count financial data

    • To count grades

    II. To count financial data [ds1]

    1. Create a new dataset

    a) Create a new database query

    b) Make an inquiry on the financial data of 2010 and 2011 using the following SQL statement:

    1.png 

     

    2. Design report format

    a) Drag [Year], [Month] and [Assets] of [ds1] to B3~D3.

    b) Type a title in B2~D2.

    c) Preview

     

     

    3. Count by criteria

    a) Combine B4 and C4, and type in the statement: The number of month where the assets exceed 40:

    b) Type the following function in D4: COUNT(C3{D3>40}). It means to count the number of months with assets greater than 40.

     

    c) Set B3 as the left parent cell of D4 to enable the function in D4 to count by the years of 2010 and 2011 respectively.

     

     

    4. Preview

    7.png 

     

    5. Download the template

    Conditional Summary1.cpt 

    III. To count multiple columns of data

    1. Create a new dataset [ds1]

    a) Create a new report and start a new database query

    b) Make an inquiry on all the grades of every course of every student in Class 4 using the following SQL statement:

    8.png 

     

    2. Design report format

    a) Drag [NAME], [COURSE] and [GRADE] of [ds1] to B3, C2, and C3. 

    b) Set C2 to expand horizontally.

     

    c). Preview

     


    3. Count by criteria

    a) Type the following statement in D2: Number of courses with grade below 60. Type the following function in D3: COUNT(C3{C3 < 60}). It means to count the number of courses with grades lower than 60.

    b) Set B3 as the left parent cell of D3 to enable the function in D3 to count all courses.

     

     

    4. Preview

     

     

    5. Download the template

    Conditional Summary2.cpt


    Attachment List


    Theme: Report Features
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy