In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
Top Solution Authors