We have below table as -
CUSTOMER_NO | ORDER_NO | ITEM_NO |
---|---|---|
C1 | O1 | I1 |
C1 | O1 | I2 |
C1 | O1 | I3 |
C1 | O2 | I4 |
C1 | O2 | I2 |
What I need is count of distinct orders and count of ITEMS per customer -
CUSTOMER_NO | ORDER_NO | ITEM_NO |
---|---|---|
C1 | 2 (distinct) | 5 (not distinct) |
How can this be achieved in SAP HANA graphical calculation view?