on ‎2022 Jan 26 2:02 PM
Tutorials: https://developers.sap.com/tutorials/hana-cloud-cap-calc-view.html
--------------------------
Hey folks,
While doing the tutorial, I wondered how the setup would handle aggregations in the calculation view. The tutorial used DIMENSION as Data Category for the calculation view, but what if it used CUBE instead with a simple counter as a calculated column?
I did a quick test just adding COUNTER to an aggregation calc view.


If we queried in the resulting odata service something like /V_Aggregation?$select=COUNTER,INTHEADER_ID, I would expect 3 entries (as there are three unique INTHEADER_ID values in the Items table) as well as the number of times that value appears:

Instead, however, I saw the values were not aggregated at all

How can we enforce the aggregation on the calculation view side?
Best regards,
André
Request clarification before answering.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.