In reply to Kelly Peri.

The last example shows an answer to your question:

proc freq data=sashelp.heart order=freq noprint;
tables smoking_status / out=FreqOut(where=(percent^=.));
run;
proc sgplot data=FreqOut;
hbarparm category=smoking_status response=count ;
run;