BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mazouz
Calcite | Level 5

Hello I want to replace missing value in Total by 85078 

Total is always constant

 

Totalnpercent
8507874968.81074% 
.00.00000% 
8507818462.16977% 
.00.00000% 
8507815151.78072% 
850788200.96382% 
850781130.13282% 
8507868017.99384% 
.00.00000% 
850787450.87567% 
8507810531.23769% 
1 ACCEPTED SOLUTION

Accepted Solutions
novinosrin
Tourmaline | Level 20

 

proc sql;

 select max(total) as total , n, percent

 from have;

quit;

 

View solution in original post

1 REPLY 1
novinosrin
Tourmaline | Level 20

 

proc sql;

 select max(total) as total , n, percent

 from have;

quit;

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 660 views
  • 0 likes
  • 2 in conversation