on 10-19-2017 10:56 AM
I'm pretty new to SAP and HANA Development. I use Eclipse and work with HANA Systems. I have a Calculation View. In this view I have 3 columns: CUSTOMER, AIRLINE, FLIGHT_DATE.
This could be some example data:
What I'm trying to do: find out with which airline a customer flew lastly twice. In this case it should pick airline 5 for customer 1.
Last flights: 7 - 5 - 9 - 5 - 9. Airline 5 was the one with which customer 1 flew lastly twice.
Has anyone an idea how to implement that rule with rank function, calculated column or something like that?
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.