BookmarkSubscribeRSS Feed
shino4
Calcite | Level 5

 

Hi ,

 

I need to get the exact  format style  that is applied to current row in the next row  if there is data in more than one row only.

 

 For example , below is the format style applied to one of the row . I am having different format style for different rows . now here i need to get the exact format styling  mentioned below  in the second row as well  when there is two rows of data .Do we have any option for that .I tried to use SPANROWS but that didnt work .Appreciate your help

 

compute r2;

 

IF r1 eq 3 THEN DO;

CALL DEFINE(_row_ ,'style','style=[font=("helvetica",20pt) indent=3.5cm CELLHEIGHT=2cm VJUST=BOTTOM]');

END;

 

 

1 REPLY 1
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Your question is quite vague, with no examples.  Wha I would suggest is that in your dataset, before you get to the proc report, you do your logic and assign a grouping var which will later be used to identify the style.  Then in your proc report you can set the grouping var to noprint, and then use that grouping var to decide what style to apply to the line.  

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
  • 1 reply
  • 761 views
  • 0 likes
  • 2 in conversation