Alteryx Designer Desktop Discussions

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

Unique Count

Learner09
8 - Asteroid

Hello All,

 

I am trying to design an Alteryx flow for a unique customer count. Please see the details in the attached file and advise.

5 REPLIES 5
Emil_Kos
17 - Castor
17 - Castor

Hi @Learner09,


I have prepared a workflow for you:

Emil_Kos_0-1612792916262.png

 

 

The output:

 

Emil_Kos_1-1612792925598.png

If this was helpful please mark my post as a solution!

AngelosPachis
16 - Nebula

Hi @Learner09 

 

You can use a multi-row formula tool to count the different records per customer and then assign the flag with a formula tool

 

AngelosPachis_0-1612793105507.png

 

Regards,

 

Angelos

 

echuong1
Alteryx Alumni (Retired)

I believe I've calculated what you're looking for. Similar to your other question, there are multiple ways to achieve this. I think the easiest is with a multi-row.

 

I did a group by on customer code. If the row-1 of customer code is null (which would occur for the first in the set), and the category is project or new, then it'll be marked with a 1. Otherwise, a 0.

echuong1_0-1612793322127.png

 

Learner09
8 - Asteroid

@echuong1  Thanks a lot its worked!

SeanAdams
17 - Castor
17 - Castor

Just for completeness - you can also use a tile tool to do record IDs per grouping of clients.

 

@MattD has a great article here: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Tile/ta-p/30235 on using the tile tool this way.

Labels
Top Solution Authors