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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.