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

Combine Multiple Result Column in One Summary or Crosstab?

$
0
0

I have a number of "results" columns that are being generated based on a comparison between two fields. 

 

if they are identical the result is "Match", if Column A is null result is "A Null", If Column B is null result is "B Null", If both are populated but are not identical result is "No Match" 

 

I have about 12 of these result columns. I want to create a crosstab or summary table that shows the result column name across the top and the 4 different status types across left with the counts in the value space.

 

 Result 1Result 2Result 3Result 4Result 5
Match<count><count><count><count><count>

No Match

<count><count><count><count><count>
A Null<count><count><count><count><count>
B Null<count><count><count><count><count>

 

Please note there are about 200k records in the data set so it needs to be somewhat efficient.

 

Thanks and let me know if you need more info,

 

Regards,


Adam


Viewing all articles
Browse latest Browse all 4999

Trending Articles