Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Scenario 3 - List Pull Request

Avatar

Employee

Your client has asked for a list of Coldplay fans to target in an upcoming CD release promotion. How would you set up the Query? If in addition, they want to know how much each fan spent on Coldplay music, how would you include that information in the results?

1 Accepted Solution

Avatar

Correct answer by
Level 2

Targeting dimension: Recipients

Filtering dimension: History of transactions and purchases

Filter: Purchase date on or after ToDate(current date) - 18 month(s) AND Artist equal to Coldplay

Add complimentary data linked to filtering dimension (Data OF the filtering dimension)

Output:

Primary key (Recipient) GROUPED

First name (Recipient) GROUPED

Last name (Recipient) GROUPED

Artist (Product) GROUPED

sum(amount) as sales UNGROUPED

Advanced parameters:

Group data by targeting dimension element

Remove duplicate rows (DISTINCT)

Pass data to List update (Create list)

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Targeting dimension: Recipients

Filtering dimension: History of transactions and purchases

Filter: Purchase date on or after ToDate(current date) - 18 month(s) AND Artist equal to Coldplay

Add complimentary data linked to filtering dimension (Data OF the filtering dimension)

Output:

Primary key (Recipient) GROUPED

First name (Recipient) GROUPED

Last name (Recipient) GROUPED

Artist (Product) GROUPED

sum(amount) as sales UNGROUPED

Advanced parameters:

Group data by targeting dimension element

Remove duplicate rows (DISTINCT)

Pass data to List update (Create list)