We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2024 Day 2 (BaseA Style)

MeganBowers
Alteryx Community Team
Alteryx Community Team

Discussion thread for day 2 of the Advent of Code - https://adventofcode.com/2024/day/2

80 REPLIES 80
Shifty
12 - Quasar

Day 2. 

 

Spoiler
Image upload failed. Try uploading a different image or from some other source.
Image upload failed. Try uploading a different image or from some other source.
Image upload failed. Try uploading a different image or from some other source.

 

 

w_gore
8 - Asteroid

I am keeping it linear.  Here is my solution.  I am using AI to generate a dataset since I can't seem to locate a packaged dataset.

CailinS
Alteryx Alumni (Retired)

Thanks to @gawa for your solution. While I took a different approach, I used yours to check my input and determine which specific records were causing me to not get the correct count. I found my issue and am so grateful to have final solved part 2!

 

It is messy but my solution is attached. Here are screenshots too:

Spoiler
Day 2 part 1 and 2.jpg

Day 2 macro.jpg

 

Cailin Swingle
Customer Experience
DawnDuong
13 - Pulsar
13 - Pulsar

Day 2 is still manageable without a macro

mkeiffer
10 - Fireball
10 - Fireball

Better late than never! 

Spoiler
Screenshot 2024-12-24 at 6.01.29 PM.png

lwolfie
11 - Bolide

Day 2, trying to catch up.

myastarling
11 - Bolide

Here's my solution - didn't seem to need a macro for it.

*update*

D'oh! I didn't realize that day 2 was for parts 1 and 2 😞 

Looks like I needed that macro afterall. 

aatalai
15 - Aurora

day2 

Pilsner
13 - Pulsar

My day 2 solution:

Spoiler
Main workflow:
2.png

Macro:
2 macro.png

  



Dhrish
8 - Asteroid

Solution

Labels
Top Solution Authors