You are on page 1of 6

SAP HANA and In-Memory Computing: SAP

HANA Analytical view


Posted by Phani KV Feb 28, 2014

SAP HANA Analytical View


Now we will create an Analytic View which combines purchase order table data with the product attribute view
we created in the previous step.
In your models package create a new Analytic View.

Name your new view AN_PURCHASE_ORDERS and click on finish.

Drag and drop the AT_PRODUCTS attribute view from the previous part of the exercise into the logical join of
your new view. Add the purchase Order and purchase Order Item tables to the Data Foundation

Generated by Jive on 2016-07-24Z


1

SAP HANA and In-Memory Computing: SAP HANA Analytical view

Of your view.

Create a 1: N referential join between purchase Order and purchase Order Item on the Purchase Order Id
column.

Now add the column Created At from the purchase Order table and the Purchase Order Id, Purchase Order
Item, Product Id, Currency, and Gross Amount columns from the purchase Order Item table to the output
by clicking on the grey dot.

Generated by Jive on 2016-07-24Z


2

SAP HANA and In-Memory Computing: SAP HANA Analytical view

In the Semantics scenario, set the Default Schema to SAP_HANA_EPM_DEMO

Select the Logical Join box in the Scenario navigator at left.


You can then drag and drop the ProductId_1 from the data foundation to the Product Id column of the
AT_PRODUCTS view creating a 1:1 referential join.

Return to the Semantics Scenario, set Gross Amount as a measure and the other fields as attributes.

Generated by Jive on 2016-07-24Z


3

SAP HANA and In-Memory Computing: SAP HANA Analytical view

Save and activate your Analytic View and then do data preview. (You can either right click on view name and
select data preview or simply click on data preview icon)
You should see output similar to this.

You can also do the analysis of the Gross Amount by Country.


It will help Beginners.
For reference How to create the SAP HANA Attribute View
SAP HANA Attribute View
Thanks,
Phani.
(553.9 K)

Generated by Jive on 2016-07-24Z


4

SAP HANA and In-Memory Computing: SAP HANA Analytical view

12565 Views Tags: business_intelligence_(businessobjects), enterprise_data_warehousing/


business_warehouse

Phani KV in response to Subhash Chandra Kilari on page 5


Jul 22, 2016 10:30 AM
Hi Subhash,
for analytical view one measure is mandatory , without measure it will not activate.
in the table measures is not there create the one ZCOUNT calculated column give constant value 1 then
activate the view.
for analytical view default node was star join, it will act like star schema, you are activating the any cube model
should be one key figure or measure are mandatory.
since SP 12 should not use the attribute, analytical view and we can use only calculation view.
if you have already at view and analytical views migrate to calculation view.
Thanks,
Phani.
Subhash Chandra Kilari
Jul 19, 2016 4:15 PM
Hi. This article is very useful for beginners like me. But I have small doubt regarding Analytic View. I know that
we can not add measures in AT_View, and we can create CAL_View without measures in "Dimension". My
question is, can we create analytic view without measure? Is measure mandatory in Analytic View?
Thanks.
With regards,
Subhash Chandra.
sree mamidi
Aug 14, 2015 11:37 AM
hi phani
i'm unable to find out the products and text tables in ecc
RameshReddy Reddy
Sep 8, 2014 9:28 AM
Hi Pani,
This document is good. but can please provide these tables data. :-)
Ganesh Bothe
Mar 11, 2014 1:17 PM

Generated by Jive on 2016-07-24Z


5

SAP HANA and In-Memory Computing: SAP HANA Analytical view

Hi Pani,
Good document for HANA beginers..thanks for sharing

Generated by Jive on 2016-07-24Z


6