Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
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 (11) Chapters Close

Preface 1. SAP HANA Studio – Look and Feel 2. Data Provisioning FREE CHAPTER 3. Modeling 4. Reporting 5. Advanced Features in SAP HANA 6. User Management A. Introduction to SAP HANA B. Architecture C. Applications Powered by SAP HANA Index

Creating hierarchies


Hierarchies are created to maintain data in a structured format, such as maintaining customer or employee data based on their roles and splitting data based on geographies. Hierarchical data is very useful for organizational purposes during decision making.

How to do it…

Two types of hierarchies can be created in SAP HANA: the level hierarchy and parent-child hierarchy in the attribute view or analytic view. The hierarchies are initially created in the attribute view and later can be combined in the analytic view or calculation view for consumption in report as per business requirements. Let us create both types of hierarchies in attribute views. When these attribute views are used in analytic views, the hierarchies created in attribute views will be inherited to drill up, drill down, or drill across in the reports for multidimensional analysis.

Level hierarchy

Follow the given steps to create a level hierarchy:

  1. In the attribute view, go to the Semantics section. On the...

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 $19.99/month. Cancel anytime
Banner background image