Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
SAP HANA Cookbook

You're reading from   SAP HANA Cookbook Your all-inclusive guide to understanding SAP HANA with practical recipes with over 50 recipes

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781782177623
Length 284 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (16) Chapters Close

SAP HANA Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. SAP HANA Studio – Look and Feel FREE CHAPTER 2. Data Provisioning 3. Modeling 4. Reporting 5. Advanced Features in SAP HANA 6. User Management Introduction to SAP HANA Architecture Applications Powered by SAP HANA Index

Creating calculation views


Calculation views are more advanced models in SAP HANA that are defined when requirements cannot be met with attribute and analytic views. For example, with calculation views, we can extract the required measures from more than one transaction table in the result, which is not possible with an analytic view. As well as this feature, we can define calculations at different layers and also use advanced SQL logic in calculation views. We can create joins, projections, unions, and aggregations in calculation views. This recipe explains how to create different types of calculation views.

Getting ready

Calculation views can be created in two ways:

  • Using GUI (Graphical User Interface)

  • Using SQLScript (native SQL or CE functions)

Any combination of the following objects can be a part of the calculation view data foundation:

  • Tables

  • Column views

  • Attribute views

  • Analytic views

  • Calculation views

We can create the following objects while defining a calculation view:

  • Attributes

  • Measures

  • Hierarchies...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images