Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

count distinct

ntudev
8 - Asteroid

Can someone write a code that will count distinct values? example below.

 

Value  Count

12        1

33        1

22        1

21        1

55        1

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @ntudev 

 

To count how many times the value shows, use the summarize tool configured like this:

 

Felipe_Ribeir0_1-1668112321197.png

 

 

gautiergodard
13 - Pulsar

hey @ntudev 

You can use a summarize tool and group on Value column.

Then you can either count or count distinct .

Labels