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 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!

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