Pardon our dust - Alteryx Academy is under construction. Lessons and courses completed on Community from now until January 20th will not be recorded.
Start Free Trial

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 #348: Reorder a List of Names

AYXAcademy
Alteryx
Alteryx

A solution to last week’s challenge can be found here.image_348_2.png

 

To solve this week’s challenge, use Designer Cloud or Designer Desktop.

 

Do you have to reformat lists because the last name and first name are listed in a different order?

 

In this weekly challenge, you need to rearrange an improperly formatted list of subscribers. Some of the subscribers’ names are listed with the last name(s) followed by a comma, and then the first name(s).


Your goal is to reorder the list with the first name(s) followed by the last name(s), and put the list in alphabetical order. For example, the subscriber “BORROEL GOMEZ, JUANA” should be listed as “JUANA BORROEL GOMEZ” with no punctuation.

 

Note that some subscribers can have more than one first name or last name.

 

Haven’t heard about Designer Cloud yet? Watch a demo. 

RWvanLeeuwen
Bolide

My solution can be improved by handling edge cases due to suffixes as 'JR' but here's my take

Révélation
348.png
dougbaron
Astéroïde
Révélation
dougbaron_0-1670247460482.png

 

benjimoser
Comète

I did it with RegEx Replace

 

Révélation
benjimoser_0-1670247738037.png

 

dougbaron
Astéroïde

@benjimoser very simplified. nice job!

AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Révélation
AkimasaKajitani_0-1670248085802.png

 

DataNath
17 - Castor
17 - Castor

My solution to #348.

 

Révélation
DataNath_0-1670249371581.png


Kachow!

DanFlint
Astéroïde

My solution using regex replace:

Révélation
DanFlint_0-1670250456966.png

 

Kenda
16 - Nebula
16 - Nebula
Révélation
Straight from AoC to the weekly challenge this Monday morning! 

Kenda_0-1670251060031.png

 

balajilolla1
Astéroïde
Révélation
Solution Attached

balajilolla1_0-1670251731692.png