Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Alteryx is here to help you solve your biggest data challenges. Read about the new Virtual Solution Center here.
SOLVED

Rolling 12 month distinct count

Highlighted
7 - Meteor

Hi 

 

I trying to create a data set which is distinct count of customers over a rolling 12 month period, which increments by a month but don't really know where to start so any help would be greatly appreciated.  What my desired output would look something like the table below.  Have attached a example input data set 

 

Start Periodend perioddistinct count
May 2018Apr 201933
Jun 2018May 201931
Jul 2018Jun 201932
Highlighted
Alteryx Partner

@jboyle  one approach to solving this problem might involve summarize tools to perform the customer counts, and the generate rows tool with DateTime functions to create the data points required for your analysis:

1.PNG

Alteryx Certified Partner
Alteryx Certified Partner

Hi @jboyle 

 

Thanks for that example, it was really helpful.

 

I've attached an example solution. Check it out and let me know what you think. 

 

20200317-Rolling12Unique.PNG

Highlighted
7 - Meteor

Thanks guys both of these solutions worked  

Labels