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
Quartz | Level 8
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
Quartz | Level 8

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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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