Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Distinct values with two columns

$
0
0

Hi there,

 

I have something simple to do but I only find complexs way to do it so I must miss something.

 

Let Say I have two columns TYPE AND TYPE2 which will contain the same domain values.

 

I want to have the distinct value whatever the order of the values.

 

TYPE        TYPE2

AAA           BBB

AAA           CCC

BBB           AAA

BBB           CCC

CCC          BBB

 

At the end I want only the distinct combinaisons :

 

TYPE        TYPE2

AAA           BBB

AAA           CCC

AAA           CCC

BBB           AAA

BBB           CCC

CCC          BBB

 

Any ideas ? 

 

Thanks


Viewing all articles
Browse latest Browse all 4999

Trending Articles