on 02-29-2016 2:18 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what i meant
Yes, you can achieve it graphically (but performance wise not the best approach).
Projection: Add the base table (Say A)
Fields: ID, Value
Projection1: Add the base table (Say B)
Fields: ID_1, Value_1
Join: Projection <Inner join> Projection1 ( Dont join any fields, with would produce N*N cardinality)
Projection: Put filter, ID<=ID_1
This produce data like
ID | VALUE | ID_1 | VALUE_1 |
1 | 10 | 1 | 10 |
2 | 20 | 1 | 10 |
2 | 20 | 2 | 20 |
3 | 30 | 1 | 10 |
3 | 30 | 2 | 20 |
3 | 30 | 3 | 30 |
Aggregation: insert VALUE_1 as aggregated column (deselect ID_1)
ID | VALUE | VALUE_1 |
1 | 10 | 10 |
2 | 20 | 30 |
3 | 20 | 60 |
Regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Experts,
Any help on my request?
I will be glad if someone can assist me. attached is my graphical calculation views and i will need help for my expected result.
SAP HANA GRAPHICAL CALCULATION VIEW
RAW DATA PREVIEW
EXPECTED RESULT
Running total column is my expected result for my SAP HANA calculated column name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just remove the ROWS UNBOUNDED PRECEEDING from your example, then it should work for SAP HANA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.