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 #79: Find the Closest Prime Number

LukaszKarpinski
8 - Asteroid

Hi,

 

My solution below:

 

Spoiler
The workflow:

LukaszKarpinski_1-1613035120084.png

 




Result when running from debug:

LukaszKarpinski_0-1613035092994.png

 

apathetichell
20 - Arcturus

I had this all done... and then realized that this didn't want the closest smaller prime - it wanted the closest prime.

rcarog
8 - Asteroid

Solution attached.

alamec
7 - Meteor

This is my solution.

 

 

Toons
12 - Quasar

My solution :

 

Spoiler
Toons_0-1615229443242.png

 

mpennington
11 - Bolide

Solution attached.

 

Spoiler
MP 79.png
Chantelb
9 - Comet
Spoiler
Chantelbbr_0-1617859379674.png

 

mdsalmankhan89
8 - Asteroid

Really helpful to understand iterative macro. Great exercise !! 

 

here is my solution ! 

ENix
8 - Asteroid
Spoiler

ElliottNix_0-1619637198441.png

Spoiler

ElliottNix_1-1619637277487.png

 

WernerE
8 - Asteroid

Enjoyed this challenge, thanks.

Spoiler
Screenshot_1.jpg