BookmarkSubscribeRSS Feed
walterwang
Obsidian | Level 7

can you help me?

 

Cheers

 

 

4 REPLIES 4
PeterClemmensen
Tourmaline | Level 20

Where do you want to add a superscript?

walterwang
Obsidian | Level 7

I have a result looks like the below table. I want to add * after 95 etc to show the sig test results.

 

 

r1r2rrrd
34221132.295
28017212.281.9
62238342.288.6
563652.119.1
41279214
976442.116.6
Cynthia_sas
SAS Super FREQ
Hi:
What PROC REPORT code have you tried. How are your variables and values created? Do you use GROUP variables or ORDER variables with PROC REPORT? It appears that r1, r2, rr and rd are all numeric variables. Is that correct? What is your destination of interest. How is the 95 calculated? Do you know ahead of time that 95 is the number you want to show with a superscript *?

Cynthia
Cynthia_sas
SAS Super FREQ

Hi:
It depends on where your number is. Is it in the title on the report? Is it in a column header? Is it in a data value? What code have you tried? What does your data look like? What is your destination of choice (RTF, PDF, HTML)? Here's a previous posting that showed super/subscripts in a TITLE statement: https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-add-both-a-subscript-and-a-superscript-... maybe that will give you some ideas. TITLE and FOOTNOTE statements are not specific to PROC REPORT.

 

  Here's  a previous forum posting that shows putting a superscript in a column header: https://communities.sas.com/t5/ODS-and-Base-Reporting/italicize-a-single-character-and-superscript-t... and some paper links about using ODS ESCAPECHAR are in this posting: https://communities.sas.com/t5/ODS-and-Base-Reporting/Insert-superscript-or-special-symbols-in-SAS-O... .

Cynthia

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!

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
  • 4 replies
  • 3775 views
  • 0 likes
  • 3 in conversation