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
Astéroïde

Hi,

 

My solution below:

 

Révélation
The workflow:

LukaszKarpinski_1-1613035120084.png

 




Result when running from debug:

LukaszKarpinski_0-1613035092994.png

 

apathetichell
Arcturus

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

rcarog
Astéroïde

Solution attached.

alamec
Météore

This is my solution.

 

 

Toons
Quasar

My solution :

 

Révélation
Toons_0-1615229443242.png

 

mpennington
Bolide

Solution attached.

 

Révélation
MP 79.png
Chantelb
Comète
Révélation
Chantelbbr_0-1617859379674.png

 

mdsalmankhan89
Astéroïde

Really helpful to understand iterative macro. Great exercise !! 

 

here is my solution ! 

ENix
Astéroïde
Révélation

ElliottNix_0-1619637198441.png

Révélation

ElliottNix_1-1619637277487.png

 

WernerE
Astéroïde

Enjoyed this challenge, thanks.

Révélation
Screenshot_1.jpg