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.

Scenario Substeps<br />

Create a view with time<br />

characteristics.<br />

Copy a view from an<br />

existing view – in this case,<br />

you can modify the copied<br />

view.<br />

Derive a view from an<br />

existing view – in this case,<br />

you cannot modify the<br />

derived view that acts as a<br />

reference to the base<br />

attribute view.<br />

6. Choose Finish.<br />

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

2. Select the required calendar type as follows:<br />

a. If the calendar type is Fiscal, select a variant schema, and a fiscal<br />

variant.<br />

b. If the calendar type is Gregorian, select the granularity for the<br />

data.<br />

3. To use the system-generated time attribute view, select Auto Create.<br />

Note:<br />

The system creates a time attribute view based on the default<br />

time tables, and defines the appropriate columns/attributes<br />

based on the granularity. It also creates the required filters.<br />

Note: The tables used for time attribute creation with calendar<br />

type Gregorian are, M_TIME_DIMENSION, M_TIME_DIMENSION_<br />

YEAR, M_TIME_DIMENSION_ MONTH,<br />

M_TIME_DIMENSION_WEEK and for calendar type Fiscal is<br />

M_FISCAL_CALENDAR. If you want to do a data preview for the<br />

created attribute view, you need to generate time data into the<br />

mentioned tables from the Quick Launch tab page.<br />

1. Choose Copy From.<br />

2. Select the required attribute view.<br />

1. In the Sub Type dropdown, choose Derived.<br />

2. Select the required attribute view.<br />

The attribute view editor opens. The Scenario panel of the editor consist of two nodes - Data Foundation and<br />

Semantics. The Data Foundation node represents the tables used for defining the output structure of the view.<br />

The Semantics node represents the output structure of the view, that is, the dimension. In the Details panel<br />

you define the relationship between data sources and output elements.<br />

2. Define Output Structure<br />

106<br />

a) Add the tables that you want to use in any of the following ways:<br />

○ Drag the required tables present in the Catalog to the Data Foundation node.<br />

○ Select the Data Foundation node in the Scenario panel, and in the context menu of the Details panel,<br />

choose Add.<br />

Note: You can choose to add the same table again in Data Foundation using table aliases in the<br />

editor. For example, in cases where you want to have different cardinalities from the same table.<br />

P U B L I C<br />

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

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

Setting Up the Analytic Model

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

Saved successfully!

Ooh no, something went wrong!