Quantcast
Channel: ListenData
Viewing all articles
Browse latest Browse all 425

SAS Visual Analytics : Change Variable Classification

$
0
0
This tutorial explains how to change variable type (classification) from category to measure in SAS Visual Analytics.

Question
Suppose you have a numeric (continuous) variable that are classified as "Category" in data set. You want to convert it to "measure". By default, you cannot change "category" variables to "measure" variables.

Solution

Step I :
Select Data >> New Calculated Item (See the image below)

SAS Visual Analytics : New Calculated Item
Step 2 :
Enter a Name for the calculated item
Step 3 :

Enter the Parse function under the 'Text' section. In the following function, 'Order'is the variable that we want to change it from category to measure.
Parse('Order'n, 'F12.')
Change Variable Classification


Viewing all articles
Browse latest Browse all 425

Trending Articles