Professional Documents
Culture Documents
DAX Challenge 2 - Marketing Campaign Success
DAX Challenge 2 - Marketing Campaign Success
DAX Challenge 2 - Marketing Campaign Success
There is a table of in-app purchases by users. In a marketing campaign, users who make their firs
in-app purchase see a call-to-action to make more in-app purchases.
>> Count the number of users who made additional in-app purchases as a result of the
marketing campaign.
Scenario
X User: 28 - 1 Item 1 date of purcahse (not included )
X User: 49 - Muplitple products one date of purcahse (not included)
X USer: 50 - 1 product multiple dates (not included)
X User: 25 - Multiple products multiple dates but same products as the 1st date of purchase (Not include)
√ User: 46 - Multiple dates multiple products (Included )
Solution Approach
Step 1 : Findout the 1st date of purchase for each user
Step 2: Identify the products on the 1st date of purchase
Step 3: Identify the products after the 1st date of purchase
e (Not include) Step 4: Count the number of products in Step 3 that aren't present in Step 2
Step 5: Count the user who has atleast one product in Step 4
Scenario
X User: 28 - 1 Item 1 date of purcahse (not included )
X User: 49 - Muplitple products one date of purcahse (not included)
X USer: 50 - 1 product multiple dates (not included)
X User: 25 - Multiple products multiple dates but same products as the 1st date of p
√ User: 46 - Multiple dates multiple products (Included )
-app purchase
the first day are not counted
st purchase a product that is different