Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to create Percentage Share of Result on HANA?

$
0
0

Hi everybody,

 

 

I resolved this case using a Script View.

 

 

I had to create 3 Calculation Views:

 

A: Calculation View Graphical his source is a Analytical View

B: Calculation View Script

C: Calculation View Graphical for realize the Join

 

 

 

First, I created the Calculation View A, where I have the Sales.

 

 

After that, create the SQL Script for obtains the aggregated Result from the Sales, for example, to Material Group level. This one is the Result Sales of Calculation View B.

 

 

And finally I created other Calculation View Graphical for to make a Join by Material Group between the a Calculation View A and Calculation View B. Into agreggation node I made the column calculated  (Sales/Result Sales)*100

 

 

 

 

Regards!


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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