Hi! I have a dataset with two numerical variables and 3 categorical variables. I need to sort the results of my proc tabulate in descending order based on the numeric variable I use as the analysis variable in the proc tabulate. I've tried various ways to pre-sort the dataset but I can't get any results. I'm attaching my code in case you can give me a hand. Thank you so much in advance! PROC TABULATE DATA=WORK.RESULTADOS_TOTAL_V3 ; VAR porc_de_variacion_PD porc_de_importancia; CLASS model / ORDER=UNFORMATTED MISSING; CLASS variable / ORDER=UNFORMATTED MISSING; CLASS clasificacion / ORDER=UNFORMATTED MISSING; TABLE /* PAGE Statement */ all = 'Total' clasificacion , /* ROW Statement */ model *variable all = 'Total' , /* COLUMN Statement */ (porc_de_variacion_PD * Sum={LABEL="Suma"} porc_de_importancia * Sum={LABEL="Suma"} ) ; ; RUN;
... View more