Hello
is there a way to replace blank cells with -1 in my graph code below (Product_rating field has blank cells so need to replace that with -1):
axis1 label=None;
axis2 label=('Product_rating') order=(-1 to 20 by 2);
title 'Product rating';
proc gchart data=Prod_list;
vbar3D product_rating/ discrete noframe
subgroup=product_class
raxis=axis1 maxis=axis2
autoref clipref cref=graybb
coutline=black woutline=1;
run;
quit;
i did find a way to work around the blank cells by replacing the blank cell in the field '"Product_rating" by -1 before proceeding to the graph.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.