Hi,
A sas library consists 10 datasets for e.g SASHELP lib, I want to find the variable having maximum number of unique values present in the SASHELP.
Please suggest.
Thanks!
What have you tried?
Do you know how to find the variable you want for a single dataset?
Can you provide an example dataset and explain what you mean by maximum unique values?
I would recommend looking into the NLEVELS option on PROC FREQ.
Why?
And
Let's break this down further:
Which steps do you need help with exactly? Please show what ever you've tried so far.
@Aexor wrote:
Hi,
A sas library consists 10 datasets for e.g SASHELP lib, I want to find the variable having maximum number of unique values present in the SASHELP.
Please suggest.
Thanks!
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: