how to create new variable with calculation between 2 variables in same table.?
eg: In table population, If id = 1 and id=5 then count(people).
It's not clear what you want. Are you adding a row or column?
Can you show an example of what you have and what you want?
@merahilyana wrote:
how to create new variable with calculation between 2 variables in same table.?
eg: In table population, If id = 1 and id=5 then count(people).
bumiputera = 1 and warganegara = 5, want be like this:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.