You are on page 1of 3

Analytic view :

---------------
Analytic views are used to model data that includes measures .

IMP POINT :
------------

-> Similar to Infocube in SAP BW


-> Similar to Facttable in SAP BO
-> For Attribute view Data category is Dimension and for Analytical view Data
category is Cube .
-> The Tables where the measures have been refered is known as Fact table .
-> We can create Analytical view only on single fact table .

Analytical view by using Attribute view :


-----------------------------------------

->On top of Attribute view we can't generate reporting .


->Once Attribute view is created we can reuse in N no.of Analytical view .
->We can't create Hierarchy in Analytical View .
->What ever objects we created in HANA can be exposed to reporting through SQL
Interface or MDX Interface .
->Only MDS Interface will support Hierarchy .

IMP POINT :
-----------

->In Analytical View we can't control all the column properties in Data
Foundation ,we have to control in star join .
->But in Attribute view we can control all the column properties in Data
Foundation .

Central Entity :
----------------

The Table in which we are refering measures i.e Fact table is known as Fact table
is known as central Entity .

IMP POINT :
-----------

->If we gor Analytical View with Attribute View ( In Star Join)then only we can
leverage Hierarchy .
->If we go for Analytical View with Column Table we can't leverage Hierarchy .

Variable ( WHERE clause of the statement )


------------------------------------------

->Variables are bound to columns and are used for filtering using WHERE clauses.

Important features of variables:


--------------------------------

->Use variables to filter data at runtime. You assign values to these variables by
entering the value manually, or by selecting it from the drop-down list.
->You can also define whether the Variable is Mandatory or if it should have a
Default Value.
->You can apply variables only in analytic and calculation views.
System Tables to see Variable Information:
------------------------------------------

There are 3 system tables under the schema _SYS_BI which contains information about
Variables.

BIMC_VARIABLE :It is a table containing the list of variables for each


information model .
BIMC_VARIABLE_ASSIGNMENT :It is a table explaining how each variable is assigned
to attributes or parameters of the model.
BIMC_VARIABLE_VALUE :It is a table containing the list of values for the
variables or parameters for which a fixed list of values was defined in HANA
studio.

Variable Types:
---------------
The following types of Variables are supported:

Single Value: Use this to apply a filter to a Single Value.

Interval: Use this where you want the user to specify a set start and end to a
selected Interval.

Range: Use this when you want the end user to be able to use operators such as
Greater Than or Less Than.

Input Parameter : ( It is a place holder: Like selection screen )


------------------------------------------------------------------

The input parameters go in as a PLACEHOLDER.

Important Features of Input Parameters:


---------------------------------------

->Input Parameters can contain any value the reporting user has to enter to
parameterize the result.
Therefore, a data type must be specified for each Input Parameter.
Input Parameters are passed by Placeholders and used in Formulas.

Parameter Type :
----------------

Direct : Simply we will get Text Box where we have to enter the fixed
values .(Like Tesxt Variable)
Column : We have Text Box and we will get value help which will be list
of values from column .( Here we will choose views for value help )
Derived from Table : I don't want user to enter a value .I just want to perform
some select on some table .
Static List : What ever the list of possible values we want we will list
down .

DIfference Between Input Parameter and Variable :(Very Very Imp for Interview )
-------------------------------------------------
1>Both Input Parameter and Variable are used for filtering purpose .
2>Input Parameter we are using to parameterizing the defination of the view but
Variables we are using to filter data .
3>When I will use variable the view will formulate entire Join.While displaying
result we are doing filtering .
But when I am using input parameter we are applying filter at the data foundation
while formulating of joins .

Points to be Noted:
-------------------

->When we activate Analytic view it creates COLUMN VIEWS in SYC_BIC Schema

->Data Foundation can include multiple database tables but we can use measures only
from one table (Central Table).

->Hierarchies cannot be created in Analytic view but we can use Hierarchies built
in Attribute views.

->In Star Join, we can create Calculated columns (attributes or measures) and
restricted measures

->We can create variables & Input Parameters in Analytical view (Mapping of Input
Parameters)

->In Star Join we can create Temporal Join (can not be created in Data
Foundation)

->Currency or Unit Conversion can be handled in Analytic view

->Sematic Properties

->Applying Filters

->Measures grouped in Folder