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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 4029 views
  • 0 likes
  • 3 in conversation