BookmarkSubscribeRSS Feed
vivek_sas
Obsidian | Level 7

HI ALL,

 

IS IT POSSIBLE TO WRITE OR USE DO LOOP IN SAS VISUAL ANALYTICS IN CALULATED FIELD OR AGGREGATED MEASURE

2 REPLIES 2
LinusH
Tourmaline | Level 20

I really can't see that.

How would you form such an expression? What do you want to achieve?

Exemplify please.

Data never sleeps
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Firstly, please don't type all in capitals.

 

Secondly, whilst I don't personally use VA, a quick look at the documentation shows that a calculated field accepts and expression.  And epression is a series of operations (+/-* etc) which end in a value.  It does not say anything about code constructs.

http://support.sas.com/documentation/cdl/en/vaug/65747/HTML/default/viewer.htm#p0i4r7imon277qn1fzfig...

 

I would suggest you need to think about your data differently, or processs it further before moving into analytics (I don't know the functionality of the software, whether you could write datastep code in it).

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

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