# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

## Challenge #81: Multi-Level Bill of Materials Problem

10 - Fireball

I tried for too long to get a non iterative approach. Wasnt as complete as i would have liked so i gave in.

12 - Quasar

Solution attached.

Alteryx Certified Partner

Took me quite a while to complete this challenge. I wanted to find a dynamic solution for any number of levels, and struggled to do it for more than 3 levels without an iterative macro. At the end I went for an iterative macro, which was a variation of a macro I did in challenge #12.

I also checked other's non-iterative solutions with an altered input of up to 8 level of BoM and solutions by @patrick_digan and @EstherB47 handled that properly. Impressive! Definitely going to study them closely!

Spoiler

Alteryx Certified Partner

This one really puzzled me, so I worked through @EstherB47's solution until it fell into place.

Spoiler
Alteryx Certified Partner

Challenge Completed

11 - Bolide

I definitely need more practice with iterative macros, but eventually figured it out! Pretty similar to the given solution.

8 - Asteroid

Here's my attempted solution. Interesting to see the different ways to pass in either the starting element or all data and then either filter within the iterative macro or filter beforehand. For some reason it makes more sense in my head to filter outside of the macro and have the data also in the macro. Maybe bad design (less dynamic), but it works in my head better for now!

Alteryx Certified Partner

8 - Asteroid

Here's my solution 🙂

Spoiler
8 - Asteroid

Having never worked in Manufacturing, this challenge was quite hard for me to get my head around, however I eventually figured out the trick! Thanks

Spoiler
Iteractive Macro!