Hello I want to replace missing value in Total by 85078
Total is always constant
| Total | n | percent |
| 85078 | 7496 | 8.81074% |
| . | 0 | 0.00000% |
| 85078 | 1846 | 2.16977% |
| . | 0 | 0.00000% |
| 85078 | 1515 | 1.78072% |
| 85078 | 820 | 0.96382% |
| 85078 | 113 | 0.13282% |
| 85078 | 6801 | 7.99384% |
| . | 0 | 0.00000% |
| 85078 | 745 | 0.87567% |
| 85078 | 1053 | 1.23769% |
proc sql;
select max(total) as total , n, percent
from have;
quit;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.