Alteryx Designer Desktop Discussions

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

How to get count distinct across multiple columns for a row

PPNU
7 - Meteor

Hi,

 

I am pretty new to Alteryx . I am trying to get the count distinct in a separate column on the basis of values present in some of the columns in raw data.

For. eg. if media network  has any value which is unique with other media network columns then count increase else not.

so according to snippet I attached below , for row 53 count should be 2 and for row 52 , it should be zero.

There is no key column in raw data which can distinguish records uniquely.

 

Thanks in advance.

PPNU_0-1623766494571.png

 

1 REPLY 1
Maskell_Rascal
13 - Pulsar

Hi @PPNU 

 

You can do this with the transpose and summarize tools. Attached is a sample workflow for you to try out. 

 

Maskell_Rascal_0-1623767268057.png

 

Cheers!

Phil

Labels