BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
hjjijkkl
Pyrite | Level 9

How to I change "week" to capital letter "Week" in 

proc freq data=alld;
table Week / NOCUM plots=freqplot;
run;

week

Frequency

Percent

1

4

2

2

1

2

3

1

5

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
proc freq data=alld;
table week / NOCUM plots=freqplot;
label week='Week';
run;
--
Paige Miller

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26
proc freq data=alld;
table week / NOCUM plots=freqplot;
label week='Week';
run;
--
Paige Miller
hjjijkkl
Pyrite | Level 9
That didn't change it. this is the output from the code above. it only changed the label for freq count to Weeks.

Weeks
week Frequency Percent
12 49 1
24 91 2
Norman21
Lapis Lazuli | Level 10

Like this?

 

data alld ;
input Week ;
datalines;
1
1
1
1
2
3
run;

proc freq data=alld;
tables Week / NOCUM plots=freqplot;
run;
Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1208 views
  • 0 likes
  • 4 in conversation