This document provides an overview of creating and working with summary reports in Cognos Impromptu. It discusses:
- Creating summary calculations to aggregate data in a report.
- Changing how row and group summaries are associated, such as fixing a summary to a specific row or associating it to the lowest grouping level.
- Using auto grouping to automatically group data by one or more columns and include summary calculations.
- Turning off auto grouping to manually control grouping and summaries.
The document demonstrates how to summarize data at the row, group, and report level in Impromptu and manipulate summaries through associations and grouping.
4. Arithmetic vs. Summary Calculations
Sale Amount
$5,842.50
$1,567.50
$5,272.50
$2,673.00
Calculated value is
$5,842.50
$2,479.68
independent
Sale Amount
$5,842.50
$1,567.50
$5,272.50
$2,673.00
$5,842.50
Calculated value is
$2,479.68
dependant
Total with Tax
$6,193.05
$1,661.55
$5,588.85
$2,833.38
$6,193.05
$2,628.46
Running Total
$5,842.50
$7,410.00
$12,682.50
$15,355.50
$21,198.00
$23,677.68
8. Changing Row Summaries
The “for” statement is used to change what
the Row Summary represents.
Branch
Customer Name
Bel-Ned-Lux Rock Steady 4
The Summary is now
“fixed” and will no longer
Automatically change with
grouping.
Product
StarDome
Dover-1
Sun Shelter-30
RiverKind Detergent
GO Ski Gear Bag
Enviro-T
GO Camp Kettle
GO Headband
Microwave Detective
Sun Shelter-8
Enviro-Kit
Pack n' Hike
Vacation Central 2 Sun Shelter-8
Dover-1
MoonGlow
Pack n' Hike
GO Water Bottle
W ally Mart 3
Pro-Lite Water Filter
Sun Shelter-30
RiverKind Soap
GO Headband
Star Gazer-2
Sale Amount Rank
$8,598.08
$2,264.40
$1,768.14
$1,750.32
$996.80
$728.64
$304.92
$264.00
$252.20
$249.90
$247.00
$103.50
$2,540.16
$1,830.40
$1,568.64
$503.04
$207.36
$3,382.00
$2,822.82
$1,951.95
$417.12
$382.12
1
9
15
16
21
23
28
29
30
31
32
38
7
14
17
25
36
3
6
12
26
27
Running Total
$8,598.08
$10,862.48
$12,630.62
$14,380.94
$15,377.74
$16,106.38
$16,411.30
$16,675.30
$16,927.50
$17,177.40
$17,424.40
$17,527.90
$2,540.16
$4,370.56
$5,939.20
$6,442.24
$6,649.60
$3,382.00
$6,204.82
$8,156.77
$8,573.89
$8,956.01
11. Summary Reports
When using the Summary Report
format with Database supported
Aggregates (such as AVG, MIN,
MAX, COUNT and SUM),
processing will occur at the
Database.
All columns
are grouped
Branch
Product Line
Bel-Ned-Lux Alert Devices
Back Packs
Group Summaries
are associated to
the lowest level of
grouping
Bio-Friendly Soaps
Carry-Bags
Cooking Equipment
Recycled Products
Sleeping Bags
Sport Wear
Sunblock
Product
Microwave Detective
Pocket Radon Alerter
Pocket U.V. Alerter
GO Small Waist Pack
Pack n' Hike
RiverKind Detergent
RiverKind Soap
GO Duffel Bag
GO Ski Gear Bag
GO Sport Bag
Dover-1
GO Camp Kettle
Enviro-Kit
Enviro-T
EnviroSak
MoonGlow
GO Headband
GO Water Bottle
Sun Shelter-15
Sun Shelter-30
Sun Shelter-8
Total Qty Average Sale Amount
176
100
4
12
5
553
165
100
96
100
90
18
20
24
19
18
80
64
198
444
689
$530.33
$2,145.00
$19.80
$218.88
$303.27
$2,136.76
$1,951.95
$3,080.00
$1,461.60
$1,540.00
$1,821.89
$304.92
$247.00
$728.64
$110.39
$893.79
$340.56
$217.60
$2,134.44
$2,295.48
$1,196.58