BookmarkSubscribeRSS Feed
KrisNori
Obsidian | Level 7

Hi,

 

I have uploaded a table to SAS LASR server. The table has the below data.

 

Month      Value

Jan          1000

Feb          1500

.........................

Dec          2000

 

I wanted to work on a particular month's data (say, Feb)

 

I created a calculated data item (Feb_Val) as below:

 

IF (RemoveBlanks('Month'n, _All_) = 'Feb')

RETURN ('Value'n * 0.1)

ELSE 0

 

However, I don't get the value 150 in the Calculated data item, but get 0. Can some one help ?

1 REPLY 1
ShannonMoore
SAS Employee

KrisNori, I just tested this in VA 7.3 Designer and it worked fine for me. I created a LASR table by importing a small excel file and then created the calculated item using your formula. What does the table look like in VA for you? My screen shot shows the new item and the values to the left.  Shannon


Capture.PNG

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
  • 870 views
  • 0 likes
  • 2 in conversation