Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

Challenge #198: Beverage Inventory

Highlighted
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
Asteroid

Now in the right mind to be drinking Friday type beverages

Spoiler
Zenon_0-1579271206646.png
Highlighted
Alteryx 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
Atom

Here's my solution

Highlighted
Asteroid

image.png

Highlighted
Meteoroid

My shot

Spoiler
Per_0-1579506006365.png