Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
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 #198: Beverage Inventory

Highlighted
5 - Atom

It was fun solving this challenge. Keep an eye on the product ID data type for the final sort!😉

 

Spoiler
WeeklyChallenge#198.JPG

 

Highlighted
Alteryx Partner
Spoiler
jv1_0-1579256176080.png
Highlighted
Alteryx Partner

My solution!

Highlighted
Alteryx Certified Partner

My solution:

Spoiler
challenge 198.JPG
Highlighted
8 - Asteroid

Now in the right mind to be drinking Friday type beverages 🙂

Spoiler
Zenon_0-1579271206646.png
Highlighted
Alteryx Certified Partner

Not the most challenging one but it has been awhile since I have been able to partake

Highlighted
Alteryx Partner

Got thrown for a while because I started when I was tired and made some early mistakes.  All sorted now though

Spoiler

Process:
- Transpose inventory data
- Get Location ID
- Join with Sales data
- Union Join and Left Join (those with no sales)
- Get Quantity in Stock for records from Left Join
- Sort by Location and Product ID (not needed)
- Summarise data (sales and average sales)
- Calculate Order ETA date in lower thread and convert to Alteryx format
- Join with upper thread
- Calculate On Order Qty and rejoin with data
- Sort data and select first record (to remove duplicates)
- Union with Left Join data
- Clean-up
- Set data where no sales

MySolution.PNG
Highlighted
5 - Atom

Here's my solution

Highlighted
8 - Asteroid

image.png

Highlighted
Alteryx Partner

My shot

Spoiler
Per_0-1579506006365.png