BookmarkSubscribeRSS Feed
Prasadr1618
Calcite | Level 5

How to solve the Error:you can only break on grouping and ordering variables?

Even though my break variable is defined as order with display,i do get this error.

please help me on this.

5 REPLIES 5
Jagadishkatam
Amethyst | Level 16

Hope it is something like

 

define x / order display;

 

could you please remove the display and try.

Thanks,
Jag
Prasadr1618
Calcite | Level 5

But i have to display the variable im my sas output file.

Jagadishkatam
Amethyst | Level 16
It will be still be displayed
Thanks,
Jag
himself
Pyrite | Level 9
The variable listed on the BREAK statement is not defined as GROUP or
ORDER.


Solution:
Remove the BREAK statement or change the usage on the DEFINE
statement of that variable to GROUP or ORDER.
himself
Pyrite | Level 9

The variable listed on the BREAK statement is not defined as GROUP or
ORDER.


Solution:
Remove the BREAK statement or change the usage on the DEFINE
statement of that variable to GROUP or ORDER.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 3519 views
  • 0 likes
  • 3 in conversation