07.02.2013 Views

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

Best Practices for SAP BI using DB2 9 for z/OS - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12.8.1 Aggregate example<br />

The contents of an example InfoCube are shown in Table 12-2. This, is an<br />

example of an aggregate and is based on a very simplified InfoCube that has the<br />

two characteristics country and customer, and the key figure sales.<br />

Table 12-2 Simplified InfoCube<br />

Country Customer Sales<br />

USA Blue Soft 10<br />

Germany Ocean Networks 15<br />

USA Funny Duds 5<br />

Canada Ocean Networks 10<br />

Canada Thor Industries 10<br />

Germany Funny Duds 20<br />

USA Blue Soft 25<br />

Table 12-3 shows another sample aggregate that only contains the country<br />

characteristic, and the key figure, sales.<br />

Table 12-3 Aggregate: country<br />

Country Sales<br />

USA 40<br />

Germany 35<br />

Canada 20<br />

These example aggregates could be used by a query that reports the sales by<br />

country or total sales. The aggregates could also be used <strong>for</strong> reports according<br />

to a navigation attribute <strong>for</strong> the characteristic country or according to a hierarchy<br />

containing the countries.<br />

If during query navigation there is a drilldown, or a selection is made <strong>for</strong> a<br />

particular customer, these aggregates would not be used. This is because the<br />

aggregates do not contain any detailed in<strong>for</strong>mation about a particular customer,<br />

only summarized customer data.<br />

Chapter 12. Concepts, activities, and terminology 269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!