Following a post by PageMiller, I tried using (*ESC*) to display unicodes but it did not not work. This is the code:
proc format;
value grade_f
1="Grade(*ESC*){unicode '0003'c}20 (*ESC*){unicode '0025'}"
2="Grade(*ESC*){unicode '2265'c}80 (*ESC*){unicode '0025'}";
run;
proc sgplot data=din;
vbox grade/category=grade_group;
format score_group grade_f.;
run;
Here are some Unicode blog posts including a few by me.
https://blogs.sas.com/content/tag/unicode/
I notice a grade group and a score group variable. You need to reconcile that.
Hi!
I tried using what you suggested in your code:
proc format;
value agefmt 1 = 'Age'
2 = "< 12"
3 = "(*ESC*){Unicode '2265'x} 12";
run;
By using (*ESC*) in my code but it did not work. Thanks, I corrected the variable to grade_group.
What results do you get, and do you see any errors or warnings in your .log file? Please post the contents of your log file and a screen shot of the results you're seeing which are incorrect.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.