BookmarkSubscribeRSS Feed
mmea
Quartz | Level 8

Hi I h

 

 

1 REPLY 1
ballardw
Super User

Please when posting data code make sure that the code will run and create the data you expect us to use.

Your data step Input statement 1) has incorrect format for Region, 2) a variable not present at all: Analysebeskrivelse and the informat is missing the "." character, 3) is not ended with a semicolon.

 

Which exact values of Tested make up which group within each region?

 

For the percentages to you mean display the value such as currently in the data as 0.02 to be 2.0%? Or are you expecting the procedure to calculate percentages as some statistic from multiple records?

If the existing value then using a Format such as Percent8.2 should work for the variable.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 685 views
  • 0 likes
  • 2 in conversation