ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Weekly Challenges

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

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

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #17: Month-over-Month Retention Rate

summit_view
8 - Asteroid

Got a bit caught up by including closed accounts in the count for open accounts in the later months.  Took some digging around to figure out my mistake.

 

Spoiler
cgrace_1-1646782231335.png

 

 

 

FrederikE
13 - Pulsar
Spoiler
FrederikE_0-1647246223245.png

 

BenoitC
Alteryx
Alteryx

Needed to check the solution to see what I was doing wrong!

 

Mostly used action tools + control parameters

 

Spoiler
BenoitC_0-1647255842406.png

 

Benoit Conley

Sales Engineer
Alteryx, Inc.

usmanghayoor
8 - Asteroid
Spoiler
usmanghayoor_0-1648454542828.png

 

Shutaro_Yamauchi
6 - Meteoroid

Tricky definition of retention rate.

We have to consider net increase of customers.

- Denominator: net increase of customers during the period between each month and 24 months before that (half inclusive)

- Numerator: close count of each month

fluteman
9 - Comet

I cheated a little.

 

I created a reference file to have the last day of each month and just referred to it over and over again since it was super small; rather than use a formula.

 

Then

Step 1 : Get things in date format.

Step 2 : Get the floor and ceiling of the time periods Year less 2 years and last day of the month.

Step 3 : The closed Display date 5/1/2013 was easier than I at first thought, just take the month and year and then append 01 to the date to get the display name... example todate("YYYY-MM-01")

Step 4 : create two tables - opened and then closed grouping by open/close type use UNION on these two tables

Step 5 : Crosstab with a formula to get your retention rate.

 

Cheers

 

Fluteman

Jon-Knepper
8 - Asteroid
Spoiler
JonK_0-1649442526192.pngJonK_1-1649442549451.png

 

 

 Here is my solution!

alexm06
8 - Asteroid

My solution attached

scoles0617
8 - Asteroid

My solution:

TonyAndriani
9 - Comet

Reposting to my new user ID.