I know in teradata or other sql platforms you can find the count distinct of a combination of variables by doing:
select count(distinct x1||x2) from db.table
And this will give all the unique combinations of x1,x2 pairs.
This syntax, however, does not work in proc sql.
Is there anyway to perform such a count in proc sql?
Thanks.