on ‎2018 Mar 27 9:46 AM
Hi,
I am doing a segmentation using profile all contact to sort out customer for email campaign. One of our requirement is to sort out customer who have "Interaction type- Purchase" 5 times within this month.
I can already sort out who have purchase within this month using the IA type and interaction date, but how could I do the 5 purchase counting?
Thanks,
Philip
Request clarification before answering.
Hi,
1 Approach could be, You create a new field for storing the count in "Marketing : Interaction" context and then you implement a new BADI "Revise Interaction Data Before Import" for business context "Marketing : Interaction" via fiori app. Here in this BADI you can fill the count which then later be used in segmentation.
Note: I havent personally tested this approach but should work.
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
Thank you for your suggestion. The solution you proposed may work for this case but a a bit limited. If user want to sum interaction in last 60 days, I end up need another field to do so. I am looking for a way to make a segmentation attribute like age. (e.g the database is stored the date of birth, but the system calculate the age real time when segmentation model create) Any idea how could I create a attribute like this?
Thanks,
Philip
Hi Philip,
You can try with a new hana view which takes aggregation of your customer key + Interaction Type and a new calculated field which uses aggregation as "Count". based on this view you will get count for all the interaction type + Customer id combination. Expose this new field to segmentation and try to use it after you filter on Interaction Type and Date so that only one particular type of interactions are left. You should then use the new field and select value greater than 5. We have had a similar requirement where we wanted the recent interaction data in a window of 7 days and used the aggregation logic as Max on timestamp, Not sure if this is apt for your requirement but worth a try.
Thanks
Vineet
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.