04-30-2015 05:52 AM
i've a dataset like given bellow
Now i need to give 3 decimal places for the variables 'B' & 'C', and 5 significant digits for the variable 'D'. But these decimal places and significant digits should not be applyed for observations of 'N'. i had tried many things like format, length and etc. but it didn't work well. the output should be like given bellow.
i'm excited to find is it really possible? if so, can anyone tell me how? or it is possible by transforming the variables?
Thanks in advanc
04-30-2015 11:22 AM
It might help to describe how you generated the example start data set. That approach may be limiting what you can accomplish.
The basic tool SAS uses for displaying values is a format. However a single variable or column may have only one format associated with it as a dataset characteristic.
The report procedures Report and Tabulate may allow creating displays with the appearance you are requesting.