robert fuschetto Posted November 8, 2021 Share Posted November 8, 2021 I recall doing this is a fex long ago. How do I make the BY TOTAL HIGHEST 20 a variable. I tried putting &TOPNBR in place of 20. When run , it prompts for &TOPNBR but whatever value I enter always yields no recordsmaybe I need to do this in a define or something Link to comment Share on other sites More sharing options...
john cullen Posted November 8, 2021 Share Posted November 8, 2021 Hello Robert, Are you entering 20 with quotes Try no quotes, just enter your number. TABLE FILE CAR SUM SALES BY TOP &TOP COUNTRY COMPUTE this/D12 = SALES * 1.1; END If that doesnt answer it, -SET &ECHO=ALL; usually provides some good insight. Link to comment Share on other sites More sharing options...
robert fuschetto Posted November 8, 2021 Author Share Posted November 8, 2021 Ha! What seesm to have worked is in the GUI, up Top alongside the RANK button, where I had typed in: 20I simply changed that to: Variable. Seems to be working! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now