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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

● Hierarchies<br />

Note: In the Semantics node, you can classify the columns as attributes and build calculated columns<br />

of attribute type.<br />

Note: For more information about the attributes and hierarchies mentioned above, see sections<br />

Attributes and Measures, and Hierarchies.<br />

You can choose to further fine-tune the behavior of the attributes of an attribute view by setting the properties as<br />

follows:<br />

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

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

● Attributes can be defined as key attributes and used when joining multiple tables.<br />

● The Drill Down Enabled property can be used to indicate if an attribute is available for further drill down when<br />

consumed.<br />

Attribute views can later be joined to tables that contain measures within the definition of an analytic view or a<br />

calculation view to create virtual star schema on the <strong>SAP</strong> <strong>HANA</strong> data.<br />

6.2.3 Creating Attribute Views<br />

Attribute views are used to define joins between tables, and to select a subset (or all) of the table's columns and<br />

rows. The rows selected can also be restricted by filters. One application of attribute views is to join multiple<br />

tables together when using star schemas, to create a single dimension table. The resultant dimension attribute<br />

view can then be joined to a fact table via an analytic view to provide meaning to its data. In this use case, the<br />

attribute view adds more columns and also hierarchies as further analysis criteria to the analytic view. In the star<br />

schema of the analytic view, the attribute view is shown as a single dimension table (although it might join multiple<br />

tables), that can be joined to a fact table. For example, attribute views can be used to join employees to<br />

organizational units which could then be joined to a sales transaction via an analytic view<br />

You have imported T009 and T009B tables for creating attribute view of type Time.<br />

Use this procedure to create a view that is used to model descriptive attribute data (that does not contain<br />

measures) using attributes.<br />

Tip: You need this view for creating a multidimensional view.<br />

1. Set Parameter<br />

1. In the Modeler perspective, expand the Content node of the required system.<br />

2. Expand the package to which you want to save your information object.<br />

3. In the context menu of Attribute Views node, choose New .<br />

4. Enter a name and description for the view.<br />

5. To create data foundation for the view, perform substeps of the required scenario given in the table<br />

below:<br />

Scenario Substeps<br />

Create a view with table<br />

attributes.<br />

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

Setting Up the Analytic Model<br />

In the Sub Type dropdown list, choose Standard.<br />

P U B L I C<br />

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

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

Saved successfully!

Ooh no, something went wrong!