Hi! I need some help. I have a dataset with the follow structure(the are not the real name is only for exemple) and i want to order (descending) the Vble_B for each differnt value of Vble_A. For exemple: I have this: Another variable 1 Another variable 2 Another variable 3 Vble_A Vle_B Another variable 4 Another variable 5 Another variable 6 XY 0,6 XY 0,3 XY 0,4 XY 0,12 XY 0,56 BV 0,18 BV 0,56 BV 1,2 BV 0,32 BV 0,8 And I want to get this : Another variable 1 Another variable 2 Another variable 3 Vble_A Vle_B Another variable 4 Another variable 5 Another variable 6 BV 0,18 BV 0,32 BV 0,56 BV 0,8 BV 1,2 XY 0,12 XY 0,3 XY 0,4 XY 0,56 XY 0,6 I need do this to can choose then the higher 10%. Do you have any idea to make that ? I tried with PROC sort and PROC sql/order by I can't get the right result. Thank you very much!!
... View more