This tutorial explains how to change variable type (classification) from category to measure in SAS Visual Analytics.
Question
Solution
Step I :
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 itemStep 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.')