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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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