Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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 #35: Data Cleansing Practice

Hjardine
8 - Asteroid

 

Spoiler
Hjardine_0-1576119412886.png
First - I used a formula tool to remove zeroes.

Second - Used data cleanse to remove letters and punctuation. Then I used formula tool to TrimLeft any "00". Then Joined back to original dataset to match output

Third - Used formula tool to TrimRight "ID" from end of strings

Fourth - Used one formula tool, combining length and substring, exact formula: if Length([Safety Code]) > 8 then Substring([Safety Code],0,8) elseif length([Safety Code]) = 6 then "SC" + [Safety Code] else [Safety Code] endif
 

 

 

It turns out that REGEX_Replace is a function that exists.

Gloriadewaal
6 - Meteoroid
Spoiler
Challenge 63- photo.PNG

Challenge - done!

Nezrin
11 - Bolide
11 - Bolide

oh.. am I doing this the second time  -_-

Thanks,
Nez
Alteryx ACE | Sydney Alteryx User Group Lead | Sydney SparkED Contributor
MichaelSu
Alteryx Alumni (Retired)
 
prozanini
8 - Asteroid
 
mcazare
7 - Meteor
 
MitchKibble
7 - Meteor
Spoiler
MitchKibble_0-1577119992613.png
rmassambane
10 - Fireball
 
AngelosPachis
16 - Nebula

Solution for challenge #35