Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Exception Aggregation in Analytic or Calc View

$
0
0

Hi Everyone,

    I'm trying to perform something similar to BW exception aggregation on one of my HANA views. I need to get the maximum and minimum 'Net Value' for various Material/Customer combinations. I've created a column that concatenates the Material and Customer, however I can't find how to acquire the max and min values. I'm trying to avoid using SQL here as I believe there should be a way to do this graphically. I tried using the Min and Max aggregation on calculated columns, but I'm having trouble grouping this by the Material/Customer so it can fetch the MAX or MIN value specific to that MATERIAL/CUSTOMER. Here is an example of what I would like to see:

 

CUSTOMER+MATERIALNET_VAL_PER_LBMAX_NET_VAL_PER_LBMIN_NET_VAL_PER_LB
10000003000005800282
10000003000005800282
10000003000005800582
10000003000005800482
10000003000005800382
10000003000005800282
10000003000005800382
10000003000005800882

 

Any ideas? Thanks for your help!


Viewing all articles
Browse latest Browse all 6412

Trending Articles