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 #87: Losing Daylight

Highlighted
Alteryx
Alteryx

The solution to last week's Challenge can be found HERE!

 

It's that time of year again....the leaves are starting to change color, the smell of pumpkin spice is in the air, and the amount of daylight for @JoeM's post-work bike rides is getting smaller and smaller.  Just how much daylight did we lose this month?  Take this week's Challenge to find out!  Using the Input data provided, calculate the amount of daylight for each day in September, as well as the day-to-day differences in daylight and the total difference from September 1 to September 30. 

 

*If you'd like to use a dataset for your location, you can download data on sunrise/sunset times from this site: https://www.timeanddate.com/sun/usa/ for US-based users.   

Highlighted
Alteryx Certified Partner

I seem to be in a minority, but I love this time of year.  Anyway, here's my solution:

 

Spoiler
challenge_87.png

 

 

Highlighted
11 - Bolide

I,  too, like Autumn, when the heat and humidity of Summer begin to subside.

 

Spoiler
087 spoiler.PNG 

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

I wanted to calculate things quickly.  I didn't constrain myself to the desired output format, but rather showed the difference between start and total time on a daily basis.

 

It is getting dark earlier, that's for sure.  But there is a silver lining in that story.  As you near the equator (get further from freezing weather), Summer days are shorter.  In other words, there's another reason to want to be in Michigan.  Of course, the opposite is true during the winter.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Highlighted
Alteryx Certified Partner

Solution is attached. Loved that the challenge included adding a total row as this is something commonly asked on the discussion board.

 

Spoiler
Challenge87.PNG

 

Highlighted
14 - Magnetar
14 - Magnetar

My solution! I modified the formatting of the end result a bit to show the am/pm for clarity on Sunrise/Sunset times and modified the Date column to include "Sep" in the date, rather than just the day of the month.

 

Spoiler
WeeklyChallenge87.JPG
Highlighted
Alteryx Community Team
Alteryx Community Team

@MarqueeCrew.... shhhhh - keep it down.... no one needs to know about Michigan summers. 😉

Highlighted
16 - Nebula
16 - Nebula
Spoiler
Capture.PNG
Highlighted
14 - Magnetar
14 - Magnetar

I was able to make use of some macros I had already worked on in the past. I used the given data and ran it again for Fort Wayne data. Pretty cool!

 

Spoiler
weekly challenge 87.PNG

 

Highlighted
Alteryx Partner

Ok here we go - my first challange, Not sure how to  hide my solution with neat "Spoiler" thing, so I'm attaching solution as file.

I've took sunrise and sunset data for Poland 🙂