| Procedure features: | WHERE statement, ODS output | 
This example uses a WHERE statement to subset the data. The example
assumes the existence of a  graph named CarsLattice.sgd that was created based
on the SASHELP.CARS data set. 
ods html file="CarsLattice.html";
proc sgdesign sgd="CarsLattice.sgd"
   data=sashelp.cars; 
   where Origin="Asia";
run;
ods html close;
Note:   Although a data set has already been defined for the SGD file,
you must specify the data set in the procedure when you use the WHERE statement.  ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
 
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.