Hi guys,
I am relatively new to Alteryx and have been struggling with a problem for a while.
I am trying to figure out how to get the count and sum of unique ID's of a group within a group.
I have attached an image of the input and desired output. I have tried using the Summary tool however, I keep only getting the count/sum of records from the first groupby when I need them counted for the second groupby.
Any help is greatly appreciated.
Best,
Jaime
Solved! Go to Solution.
Hey @jaimearanda you just need to add a second 'Group By' in your Summarize tool, so your configuration should be:
Card Number > Group By
Store Number > Group By
Subtotal > Count
Subtotal > Sum
Thank you so much! I see my mistake was using count distinct rather than count.
User | Count |
---|---|
18 | |
16 | |
14 | |
6 | |
5 |