The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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

Ruban
8 - Asteroid

Formula for the last part: 

IF Length([Safety Code]) < 8 THEN "SC" + [Safety Code]

ELSEIF Length([Safety Code]) > 8 THEN Replace([Safety Code],Right([Safety Code], 14) , "")

ELSE [Safety Code] ENDIF

jomongeorge
7 - Meteor

Solution Attached

pmyers
Alteryx
Alteryx

My solution attached.

amjadmanasra
8 - Asteroid

Hi Data Hero,

one minor comment, 

to remove leading zero you need left trim not a trim function, trim will remove from both end of the text 

 

 

Thomas_Wells_2dot0
8 - Asteroid

Kind of a random set of data cleansing requests, but oh well! 

 

Spoiler
2022-09-11_20-57-09.jpg

Swathi
9 - Comet

PFA the solution

Travis_Ratliff
8 - Asteroid

Solved

mkbhagat
7 - Meteor

Here is solutions of Data cleansing . 

Jodelgado518
6 - Meteoroid

My solution

nidhirana15
6 - Meteoroid

Solution

35 solution.png