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.
alteryx Community

# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
###### IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback

## Challenge #87: Losing Daylight

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.

14 - Magnetar

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

Spoiler

11 - Bolide

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

Spoiler

19 - Altair

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.
11 - Bolide

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

Spoiler

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
Alteryx Community Team

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

16 - Nebula
Spoiler
15 - Aurora

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

8 - Asteroid

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 🙂