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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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