You are on page 1of 6

9/30/2018 SAP HANA Analytical view | SAP Blogs

Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner About
About  
Ask a Question Write a Blog Post Login

SAP HANA Analytical view
February 28, 2014 | 3,135 Views |

Kodanda Pani KV
more by this author


BW (SAP Business Warehouse) | business intelligence (businessobjects) | Enterprise Data Warehousing / Business Warehouse

0 share tweet share


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. 1/6
9/30/2018 SAP HANA Analytical view | SAP Blogs

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

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. 2/6
9/30/2018 SAP HANA Analytical view | SAP Blogs

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

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. 3/6
9/30/2018 SAP HANA Analytical view | SAP Blogs

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



Alert Moderator

You must be Logged on to comment or reply to a post.

Ganesh Bothe

March 11, 2014 at 12:17 pm

Hi Pani,

Good document for HANA beginers..thanks for sharing .

Former Member

September 8, 2014 at 7:28 am

Hi Pani,

This document is good. but can please provide these tables data. 4/6
9/30/2018 SAP HANA Analytical view | SAP Blogs

Former Member

August 14, 2015 at 9:37 am

hi phani

i’m unable to find out the products and text tables in ecc

Former Member

July 19, 2016 at 2: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?


With regards,

Subhash Chandra.

Phani KV Post author

July 22, 2016 at 8: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.



Former Member

November 8, 2016 at 9:27 pm

Hi Phani,

very good post.. thanks for the nice efforts put in.

One more addition to the above, in analytical views:
–> without measures you cannot activate the object.
–> no two transaction tables (i.e. tables with measures) can be added into a single
analytical view. 5/6
9/30/2018 SAP HANA Analytical view | SAP Blogs

Former Member

January 3, 2017 at 11:33 am

Hi Phani,

Can we create Analytic View without Attribute Views that means, can we join the fact table with direct dimension
tables. Can you plz explain the procedure?

Thanks & Regards,

Share & Follow

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

Sitemap Newsletter 6/6