28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Related Links<br />

● When you open an attribute view and there is a missing column in the required object, an error is<br />

shown and the editor does not open. For information regarding the solution of this issue, see <strong>SAP</strong><br />

Note 1788552.<br />

Creating Hierarchies [page 127]<br />

Activating Objects [page 132]<br />

Generating Time Data [page 102]<br />

6.2.4 Analytic Views<br />

Analytic views are used to model data that includes measures.<br />

For example, an operational data mart representing sales order history would include measures for quantity,<br />

price, and so on.<br />

The data foundation of an analytic view can contain multiple tables. However, measures that are selected for<br />

inclusion in an analytic view must originate from only one of these tables (for business requirements that include<br />

measure sourced from multiple source tables, see calculation view ).<br />

Analytic views can be simply a combination of tables that contain both attribute data and measure data. For<br />

example, a report requiring the following:<br />

<br />

Optionally, attribute views can also be included in the analytic view definition. In this way, you can achieve<br />

additional depth of attribute data. The analytic view inherits the definitions of any attribute views that are included<br />

in the definition. For example:<br />

<br />

You can model the following elements within an analytic view:<br />

● Columns<br />

● Calculated Columns<br />

● Restricted Columns<br />

● Variables<br />

● Input parameters<br />

Remember: In the Semantics node, you can classify columns and calculated columns as type<br />

attributes and measures. The attributes you define in an analytic view are Local to that view. However,<br />

attributes coming from attribute views in an analytic view are Shared attributes. For more information<br />

about the attributes and measures mentioned above, see section Attributes and Measures.<br />

Note: For more information about the variables and input parameters mentioned above, see sections<br />

Assigning Variables and Creating Input Parameters.<br />

You can choose to further fine-tune the behavior of the attributes and measures of an analytic view by setting the<br />

properties as follows:<br />

● Filters to restrict values that are selected when using the analytic view.<br />

● Attributes can be defined as Hidden so that they are able to be used in processes but are not viewable to end<br />

users.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up the Analytic Model<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 109

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

Saved successfully!

Ooh no, something went wrong!