BookmarkSubscribeRSS Feed
Number7
Calcite | Level 5

Hi.

I have just started learning SAS eg. What a great tool!!! 

currently on v9.4.

right now I'm working on a work schedule issue.

As a test-case I'm trying to replicate something I used to do in excel.

 

So this is the case.

 

INPUT:

prompts:

Schedule start (01.01.2018)

Schedule end (31.01.2018)

 

dataset:

 

 

NAME

ROLE

FROM

TO

LOCATION

TYPE

James

A

01.01.2018

09.01.2018

1A

NORMAL

James

A

19.01.2018

20.01.2018

1B

EXTRA

Anna

B

10.01.2018

18.01.2018

1C

NORMAL

Anna

B

22.01.2018

30.01.2018

1B

NORMAL

Peter

C

04.01.2018

13.01.2018

1A

NORMAL

Peter

C

18.01.2018

23.01.2018

1C

NORMAL

Kath

D

15.01.2018

15.01.2018

1C

EXTRA

 

OUTPUT:

 

se attached file: ScheduleOUTPUT.pdf

 

----

 

Is this possible?

If so, where to start?

 

Thank you!

 

Br,

Bjoern

2 REPLIES 2
Reeza
Super User

Yes it's possible. I would start with PROC REPORT and picking a destination, ie do you want PDF or XLSX file. 

 

Highlighting/traffic lighting is very well documented across the forum here or on lexjansen.com you'll find lots of examples.

 

Number7
Calcite | Level 5

Hi. thanks for a quick reply.

I guess excel is what I need.

or PDF, the easiest way?.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 875 views
  • 0 likes
  • 2 in conversation