Calculation views Flashcards

1
Q

Describe a “Measure”

A

A numerical value such as price, weight or volume that can be processed as part of an arithmetic equation such as SUM, AVERAGE, TOP n VALUES…
Unit price
Unit Weight

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe an “Attribute”

A

An element that is used to describe a measure;
Product Id
Product number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe a “Dimension”

A

A grouping of attributes that can be used to give further meaning to a Measure. For example grouping Country and state to form a location Dimension.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe a star schema?

A

A single fact table that references one or more dimension tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe a Hierarchy

A

A group of fact tables arranged by levels that become more granular as they descend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe a “Semantic”

A

Something that gives the measure context. Such as dollars or pounds or miles. Think about a distance measurement of 25. Miles or kilometers would be the semantic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How are calculation views used?

A

To create a Virtual Data Model (VDM) that is used for answering a specific data need based on measurements, attributes/dimensions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can a calculation view (VDM) be made more meaningful/readable

A

The column names can be altered, labels can be assigned, additional calculations can take place

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give the five main benefits of calculation views?

A

1) Nothing needs to be pre-calculated. The front end pushes the calculation to the DB
2) Reusability. One View can be used by other programs or other views
3) Flexibility. The view can be enhanced to accept parameters
4) Adaptability. The view can adapt based on the data form requested (one column as key vs 2)
5) Easy to transport. Moving views between hana systems is straight forward.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the difference between “Design time” and “Run Time” views?

A

Design time views are built using graphical tools.

Run time views are database catalog objects that are column based and can be used in queries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Are calculation views Design time or Run time?

A

They can be both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Name a tool that can be used to create calculation views?

A

SAP’s WEB IDE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or False. Analytical calculations like Calcultion views use data from the database and application servers?

A

False. Analytical views only use data from the database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 3 HANA engines for calculation views?

A

Join engine
OLAP engine
Calculation engine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is SQL console and how is it used?

A

It, along with SQI Console are eclipse tools used for designing calculation views and other SQL statements. t is different than WEB IDE and is probably better suited for someone like me.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the two approaches for testing calculation view data?

A

Standard data preview (Web IDE)

Custom SQL query (SQL console)

17
Q

Which of the two data preview approaches is best for complex calculation scenarios?

A

Custom SQL query thru SQL Console

18
Q

What three tabs exist in the WEB IDE data preview?

A

Raw data, Analysis, Hierarchies

19
Q

What can be done to prevent the default query from executing immediately?

A

Require that a filter be set before the data retrieval

20
Q

How many types of calculation views are there? Name them

A
There are 4 types.
SQL access only 
Dimension 
Cube 
Cube with star join
21
Q

Describe a SQL access only view

A

This is an intermediate type view that is only used by other calculation views. it is not exposed to outside development tools thus it avoids the construction of extra, optimized views

22
Q

Describe a Dimension view

A

A dimension view is only based on attributes. It does not handle measures. Consider a Dimension view as a “Select Distinct” . Numeric columns are treated as attributes. this view is also used to supply information to other views. Almost think of it as a preclude to a “for all entries” type of select

23
Q

Describe a cube view?

A

This is a true calculation , it is optimized for OLAP. It does not allow dimension types

24
Q

Describe a cube view with star join

A

A combination of Cube views providing a wide range of data

25
Q

How mny data sources exist for calculation views and what are they?

A

There are 9 of them;
Column based tables, Row based tables, SQL access only views, Graphical calculation views, CDS views with parameters, CDS views without parameters, Table functions, virtual tables, graphical workspaces

26
Q

What are the two ways to determine a table type?

A

Database explorer or SQL console

27
Q

What system table can be used to determine a table type

A

M_TABLE

28
Q

What is SQL script used for?

A

Defining complex data sources. into a table function. These data sources can then be used by calculation views.

29
Q

What is a Dimension calculation view good for?

A

Providing context. For example if a product id was an attribute a dimension view would provide additional information regarding the product from master data tables

30
Q

What two calendars can be used in calculation views

A

Gregorian and Fiscal

31
Q

What node is automatically generated for all calculation views?

A

The semantics node