Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

How to model hierarchy

$
0
0

Ive got several hierarchical parent-child relationships (e.g. company->country->region-> ... ) which are available as a CSVs.

 

Values (e.g. Sales figures) are provided on the node (lowest) level (e.g. on company), but I need to perform calculations on all levels (country, region etc).

 

I have not been able to find any kind of guidance on how to model this the best way. I have seen Ravindara's post Flattening the hierarchy using SQL code, but is this (still) the right approach?


Viewing all articles
Browse latest Browse all 8968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>