I have a data set with 2 columns (NAME and ENTRIES).
I an trying to get the name only to display as many times as there are entries. I thought using a DO UNTIL or WHILE statement would be the most efficient, but I am not sure.
Sample data and results set expected attached.
Simple iterative DO will suffice
Do i = 1 to entries;
output;
end;
keep name;
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!