Query to find top 30% spenders per store.
I have a dataset with customers is and their max spending store code. I have another table with their transaction details. I need pull top 30% spenders from each store. How can I do this is ACS?
I have a dataset with customers is and their max spending store code. I have another table with their transaction details. I need pull top 30% spenders from each store. How can I do this is ACS?
Hi @varnikaja2 ,
This is link for ACS https://experienceleague.adobe.com/docs/campaign-standard/using/managing-processes-and-data/targeting-activities/segmentation.html?lang=en
Here for joining the tables, you can use enrichment and once you have all the columns in outbound population, use Segmentation Activity and use Ordered sampling:by limiting the 30 percent population by :-
By data grouping (as a %): you can limit the segment population according to the values of a specific inbound population field by using a percentage. Select the field to apply the grouping, then specify the values to be used.
Let me know if you are still unclear, I can guide more on same. Its just about understanding your data model cardinality and then grouping and limiting correctly using segmentation and enrichment activity
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.