BookmarkSubscribeRSS Feed
Laxesh7
Fluorite | Level 6

Hello,

I want to generate new variable having sum of all values that are available in other variables. 

 

Eg.

Jan Feb Mar Apr Total 

1      2     3     4     10

 

Can anyone please help me?

 

Thanks in Advance.

1 REPLY 1
FredrikE
Rhodochrosite | Level 12

Add a computed variable, numeric with expression jan + feb + mar + apr, call It total?

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!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

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