ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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 #35: Data Cleansing Practice

sanjay_shinde
8 - Asteroid

Had little problem to solve last problem but find a way through. 

mkreddy
7 - Meteor

For removing leading zeroes and in second case text i just converted the field type to numeric

mkreddy_0-1673797418688.png

Used Trim function to remove ID string from End

 

mkreddy_1-1673797496039.png

 

Finally used If and trim function in formula tool

mkreddy_2-1673797664433.png

 

 

François_Rs
8 - Asteroid
Spoiler
Franois_Rs_0-1673942872901.png

 

alacoume
9 - Comet

My solution:

Shreya_p
7 - Meteor
Spoiler
Shreya_p_0-1674040071530.pngShreya_p_1-1674040086631.pngShreya_p_2-1674040104372.pngShreya_p_3-1674040119054.png

 

 

robbie0sc
7 - Meteor
Spoiler
robbie0sc_0-1674040650682.png

 

Solution

tomrob
7 - Meteor
Spoiler
 

tomrob_0-1674040697004.png

 

AngelPradeesh
6 - Meteoroid

To get the desired outputs please follow the below steps:

 

1. Use  a formula tool to get the new field. The formula used should be Trim([Field1],"0")

2. Use a formula tool to get the desired output. Formula to be used should be Trimleft([Field1],"0"). Post that, use the text to columns tool to remove the delmiter ":". Finally use the select tool to get the desired fields

3. Use formula tool to get the desired output. Formula used should be TrimRight([ID],"ID")

4. Use the formula tool to get the desired output. The formula used should be " If Length([Safety Code])=6 then "SC"+[Safety Code] else left ([Safety Code],8) endif

Thank you!

corleyr
7 - Meteor

Here is my solution

benjimoser
9 - Comet

My Solution

Spoiler
benjimoser_0-1674209420342.png
benjimoser_2-1674209435050.png

 

benjimoser_3-1674209442729.png

 

benjimoser_0-1674210520307.png