SAS Visual Analytics : Convert Numeric Variable to Date

This post describes how to convert a numeric variable to date format in SAS Visual Analytics.

Suppose a variable having date information is classified as a measure (numeric) variable type in SAS Visual Analytics . The task is to convert it to Date format variable.

We can create a new calculated data item using the TreatAs Numeric(advanced) operator.
Step I
Select Data >> New Calculated Item (See the image below)
New Calculated Item
Step II
Enter a Name for the calculated item

Step III

Enter the TreatAs function under the 'Numeric(advanced)' section. In the image shown below, 'Period_Num' is the variable that we want to change it from numeric to date.

SAS VA : Convert Numeric to Date

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like banking, Telecom, HR and Health Insurance.

While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*
Related Posts:
2 Responses to "SAS Visual Analytics : Convert Numeric Variable to Date"
  1. Even though you had a feeling that web analytics could help your business, the task of choosing a program and installing the program and maintaining the program just seemed too daunting to center dashboards

  2. All organizations in all industries generate data, and the volumes are growing exponentially. bank and financial dashboards


Next → ← Prev