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 #149: Market Overlap

Highlighted
Alteryx Partner

My solution:

 

Spoiler
Challenge_149_JP.png
Highlighted
Alteryx Partner
Spoiler
149.PNG

Green tools rule! 

Highlighted
8 - Asteroid
 
Highlighted
8 - Asteroid
Spoiler
challenge_149_solution_justindavis.PNG
Highlighted
8 - Asteroid
Spoiler
2019-11-21 08_11_12-Greenshot.png
Highlighted
Alteryx Partner

Very interesting as always

 

Spoiler
Process:
Top thread:
- Create points for customer location (noting the lat and long as integers)
- Count number of customers (to allow % calculation later)
- Find intersection of customer location with the trade area of each proposed location
- Count number of customers in the trade area of each proposed location
- Append the number of customers in each trade area with the total number of customers
- Calculate % of customer overlaps
- Clean-up

Bottom thread:
- Find overlap of proposed store trade areas with current trade area
- Calculate area of proposed store trade areas
- Calculate area of existing trade area
- Append existing and proposed trade areas
- Calculate % of overlap of areas
- Clean-up

MySolution.PNG
Highlighted
8 - Asteroid
 
Highlighted
Alteryx Partner
Spoiler
149.png
Highlighted
8 - Asteroid

My Solution:

8 - Asteroid

My Solution: