Please provide representative sample data (created via a working SAS data step posted into a code window using the running man icon). Then show us the desired result based on the sample data.
Posting an picture is much less helpful as it doesn't give us data to play with and to test the code we propose as solution.
...and if you post sample data with your actual variable name then you've got a good chance that you'll receive solution code which you can directly use with little or no change.