Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

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