Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #25: Creating Merchant Combos

Toons
12 - Quasar

My solution :

 

Spoiler
Toons_0-1613769898082.png

 

nbrightw
7 - Meteor

st,small,507x507-pad,600x600,f8f8f8.jpg

Jon-B
7 - Meteor

Struggled with this one, I think I knew I needed some kind of cartesian join, which in my head meant Append Fields, but I then struggled to filter out all the cases that weren't needed. Turns out a simple L-R join did the job much better because you can join by UserID. Then it was a relatively simple job to filter out inverted pairs and left=right cases.

Luke_C
17 - Castor
Spoiler
Luke_C_0-1617461694119.png

 

apathetichell
18 - Pollux

my solution...

Maskell_Rascal
13 - Pulsar

Here is my solution!

 

Spoiler
Maskell_Rascal_0-1619038235427.png

 

Cheers!

Phil

CandiceDB
Alteryx
Alteryx

Looks different than the output file as I put the non-null values in the Merchant1 column but the results are the same. My solution:

 

Spoiler
CandiceDB_1-1619372597959.png

 

ENix
8 - Asteroid
Spoiler

ENix_0-1620668057427.png

 

RashedDS
8 - Asteroid

My solution

 

 

DawnDuong
13 - Pulsar
13 - Pulsar

Here is my solution to this rather old challenge.

Btw I think the given solution is wrong. There should be only 65, not 77 records, in the output. The solution contains 12 records where the first merchant is null.

In my solution, I adopted a statistic method of finding the number of combinations.

Dawn