community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcement | Get certified today - take the Alteryx Designer Core and Advanced exams on-demand now!
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Weekly Challenge
Do you have the skills to make it to the top? Subscribe to our weekly challenges. Try your best to solve the problem, share your solution, and see how others tackled the same problem. We share our answer too.
Unable to display your progress at this time. Please try again a little later, or contact an administrator if you continue to see this error.

Challenge #102: Tabulating Flu Data

Sr. Instructional Designer
Sr. Instructional Designer

A solution to last week's Challenge has been posted HERE

 

This year's (2017-2018) flu season has been reported to be the most severe in the past decade.  In particular, influenza-related hospitalizations are on the rise across a wider range of age groups than normal.  For this week's Challenge, we'll use data from the Center for Disease Control (CDC) concerning California's data on influenza-related hospitalizations.  Create a table that shows the cumulative number of hospitalizations per age group for each flu season.

 

Looking for additional analyses to do?  How about a week-by-week comparison of hospitalizations?  Or perhaps a forecast of the number of expected hospitalizations for a particular age group?  Or maybe a visual representation of the data is up your alley!  

 

Stay healthy out there!   

Asteroid

Done!

 

Spoiler

 

Challenge102.JPG

 

Fireball

Simple enough to do during my lunch break.    (I took a break from working  in Alteryx to ......  work in Alteryx.)

 

Spoiler
Challenge 102.PNG
Magnetar
Magnetar
Spoiler
This one was simple enough to do that I did some charting for the sake of refreshing my memory on how charting works in Alteryx.  I took the top 12 weeks by average cases for each age category and charted them.

More difficult than I thought it would be, but I got some neat stuff even without using a Visualization tool like Tableau.  EG: Based on this dataset, "Flu Season" is really two seasons, depending on age.  For infants and adults over age 50 it is the "expected" weeks 51-9, roughly December-February.  However, in the 5-17 and 18-49 demographics, they tend to get hit much earlier on average, with weeks 36-39 showing up in the top 12, but then there is a lull until ~January.  Obviously, given the limitations of this dataset, these findings don't mean anything, but I thought it was neat to see.  Particularly, I don't think of the month of September as a flu season.

Spoiler
Capture.PNG
Magnetar
Magnetar
Spoiler
You know, in all the filters I've ever written in Alteryx, I never tried IN (NULL()).  That's a really good thing to remember and probably simplifies some of my formulas.

Here's a 2 tool solution:

Spoiler
Capture.PNG
Just don't mind row 1 or what's in those other 3 columns that aren't being shown...
Alteryx Certified Partner

Here's my solution:

 

Spoiler
solution_102.png
Alteryx Certified Partner

Two methods attached. Interested to see others' solutions for best way to keep the correct column headings with no underscores.

 

Spoiler
challenge_102 - Snip.PNG
Alteryx Partner
Spoiler
Weekly Challenge 1.30.PNG