this is such wonderful explanation. could you please help with code where i want to convert multiple observations of a particular variable into one cell -one variable example column i observations 1-10 and we want one variable as X where all values of i are comma separated, x=1,2,3,4,5,6,7,8,9,10. please help, god bless you :)
Suppose the dataset name test has the variable named as i having value from 1 to 10, then one of the way you can try is: Proc SQL; Select I into: x separated by ',' From test; Quit; Data test2; Set test; X="&x."; Run;
Excellent and indetail explained every step..👏👏👍👌
Keep up the good work..
Tq for valuable information way of explanation 👏👏
So nice of you
Such a wonderful explanation
Best explanation
Thanks for liking
👍👍💯
Great explanation
Glad it was helpful!
Great channel
Could you please share some examples for practicing
subscribed 👍👌
Thankyou for subscribing
great
Thank you Jeff
this is such wonderful explanation. could you please help with code where i want to convert multiple observations of a particular variable into one cell -one variable example column i observations 1-10 and we want one variable as X where all values of i are comma separated, x=1,2,3,4,5,6,7,8,9,10. please help, god bless you :)
Suppose the dataset name test has the variable named as i having value from 1 to 10, then one of the way you can try is:
Proc SQL;
Select I into: x separated by ','
From test;
Quit;
Data test2;
Set test;
X="&x.";
Run;