Free Trial

Alteryx Designer Desktop Discussions

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

Need help in Preparing Query

puja123p
6 - Meteoroid

Hi,

I have the following sample data where the battery no. is coming as duplicate.

I need to find the numbers where the Battery are duplicates. As in this case, there are 4 duplicates interlinked, all the 4 numbers should come in the Duplicates column. Example of the output data is attached in 2nd Table.

May please help in the query.

 

Thanks

 

 

NumberBattery number
AD626AR16N1H20260TB2HN1919391,TB2HN1X19389
AD626AR13N1H21849TB2HN1X19389,TB2HN1119227
AD626AR17N1H21594TB2HN1520008,TB2HN1X19238
AD626AR1XN1H20133TB2HN1119227,TB2HN1X19238

 

Output Data

 

NumberBattery numberDuplicate
AD626AR16N1H20260TB2HN1919391,TB2HN1X19389AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133
AD626AR13N1H21849TB2HN1X19389,TB2HN1119227AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133
AD626AR17N1H21594TB2HN1520008,TB2HN1X19238AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133
AD626AR1XN1H20133TB2HN1119227,TB2HN1X19238AD626AR16N1H20260, AD626AR13N1H21849, AD626AR17N1H21594, AD626AR1XN1H20133
1 REPLY 1
binuacs
21 - Polaris

@puja123p one way of doing this

image.png

Labels
Top Solution Authors