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

vghazaryan
5 - Atom

My solution:

JunePark
8 - Asteroid
Spoiler
trimleft, trimright, if function
rsalvador
5 - Atom

my solution

liamholland
8 - Asteroid

Solution in file:

KGS
8 - Asteroid

Hi,

 

By far the most challenging assignment.

 

Best,

 

B

Hruday
7 - Meteor

This is my second weekly challenge Please have a look over the solution.

Spoiler
Screenshot (107).png
dorisdoris
5 - Atom

I had fun!

Learn2Excel
7 - Meteor

1. Remove leading zeros : A) Used 'Select' tool > change data type to 'Double', B) Used ToNumber function

 

2. Trim leading zeros and / descriptive texts : Used ToNumber function

 

3. Remove 'ID' from the end : A) Wrote conditional function IF Right([ID], 2)='ID' THEN Left([ID], Length([ID])-2) ELSE [ID] ENDIF; B) Used TrimRight

 

4. Add 'SC' and remove anything after 8 characters : Wrote conditional function IF Length([Safety Code])>8 THEN Left([Safety Code], 😎 ELSE IF Length([Safety Code])=6 THEN 'SC'+[Safety Code] ELSE [Safety Code] ENDIF ENDIF

 

Looking forward to better approaches.

 

Regards

KD

terry10
12 - Quasar

So many different ways to clean up this data. Good practice.

Mélanie
8 - Asteroid

Funny challenge !