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 #80: Slowly Changing Dimensions

Highlighted
Alteryx Partner

My first time attempting the challenge! Thanks!

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Similar to most peoples in concept... 

I'm assuming the output order is unimportant.

Spoiler
WC80.png
Highlighted
Alteryx Partner

Here my Solution!!!

 

Spoiler
SPOILER!!!

1.PNG

Highlighted
7 - Meteor
 
Highlighted
Alteryx Certified Partner

For some reason I couldn't get my head around this challenge so here is my rather overcomplicated solution

Spoiler
Screen Shot 2017-10-05 at 00.45.53.png
Highlighted
16 - Nebula
16 - Nebula

:-) this is good stuff - we do this particular challenge all the time in real life!

 

 

Spoiler

- Bring in the new rows first into the union
- Add a record ID in-case some new rows have same info (e.g. Bob)
- Set the end-dates by using start date of the newer record
- Set the current flag using a unique tool taking only most recent
- Then remove people who have left completely (latest = y; but end-date exists)


2017-10-08_21-59-35.png



 

Highlighted
Alteryx Certified Partner

Solution

Spoiler
Weekly Challenge 80.png
Highlighted
14 - Magnetar
14 - Magnetar

Odd that my solution didn't post in the week of this challenge, but here it is.

Highlighted
8 - Asteroid

Went a little overboard on this one. Fun challenge!

Highlighted
12 - Quasar
12 - Quasar

Fairly straightforward data manipulation