Hello - You can find an example here: http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_tsdata_sect004.htm and more information here: http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_tsdata_sect004.htm In order to introduce hierarchies like type, state, retailer you will need to use BY variables. See: http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_tsdata_sect024.htm If you check out the SASHELP.PRICEDATA sample data set, you will get an impression of the structure needed. Thanks, Udo
... View more