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.

The next example is an aggregate that is grouped according to the nodes of a<br />

hierarchy level. The hierarchy is shown in Figure 12-8.<br />

Level 1<br />

Level 2<br />

Level 3<br />

USA<br />

Figure 12-8 Hierarchy of country<br />

The aggregate is shown in Table 12-4. That aggregate can be used by queries<br />

that report on sales <strong>for</strong> a hierarchy node on level 2 or higher. In the example<br />

shown in Figure 12-8, those are the nodes labeled Europe, America, and World.<br />

It can also be used by queries that have this country hierarchy as a presentation<br />

hierarchy in the drilldown, but the drilldown goes no lower than the second level.<br />

Table 12-4 Aggregate of Country hierarchy level 2<br />

Customer Sales<br />

America 60<br />

Europe 35<br />

12.8.2 Maintaining aggregates<br />

America<br />

There are a number of activities required to maintain aggregates. For example,<br />

they must be loaded (filled with data), calculated, activated, and updated.<br />

270 <strong>Best</strong> <strong>Practices</strong> <strong>for</strong> <strong>SAP</strong> <strong>BI</strong> <strong>using</strong> <strong>DB2</strong> 9 <strong>for</strong> z/<strong>OS</strong><br />

Canada<br />

World<br />

Europe<br />

Germany

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

Saved successfully!

Ooh no, something went wrong!