Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

yearly unique shown monthly

mattlukoff
8 - Asteroid

Hello,

 

Can anyone help me get a sum of purchases divided by unique count of user IDs over a yearly period but shown over a monthly time frame. See sample workflow attached. It's a purchases per unique user metric showing over the year.

 

Thanks

11 REPLIES 11
SeanAdams
17 - Castor
17 - Castor

Hey @mattlukoff

this is definately doable - if you look at what the macro is doing, there's a summarize tool with a group by month - you can add another group by to that same summarize with the product ID.

 

Have a good week

Sean

mattlukoff
8 - Asteroid

@chris_fort, I really like this solution too. Just two questions/requests:

 

1. Is it re-starting the unique user count every year? I don't think it is so how can I do that?

2. How can I group the distinct by some user attribute like unique purchases per user by user attribute 1?  i.e. so it's like this:

 

User Attribute 1  CountDistinctNonNull_User IDSum_Purchases
Apple2435
Bananna1112
Pear1942
Watermelon1212

 

thanks!

Labels