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

Alteryx Certified Partner

My first time attempting the challenge! Thanks!

Highlighted
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
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
Nebula
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
Magnetar
Magnetar

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

Highlighted
Asteroid

Went a little overboard on this one. Fun challenge!

Highlighted
Bolide
Bolide

Fairly straightforward data manipulation