BookmarkSubscribeRSS Feed
data_ipr
Calcite | Level 5

Hi everyone!

I am trying to convert a category containing different regions of a country into a geographical variable. I am aware that SAS VA needs a special coding, as far as the region names are concerned, and I accomplished that in a preprocessing phase. However, I cannot change the variable type in the designing report section. The weird thing is that if I import the same column (variable) from a .csv file containing only that column (and not all the others), SAS VA recognizes it as a geographical variable by itself. Anyway, I would like to import all the variables from the same .csv dataset, and not to split them in a preprocess phase.

Does anyone have any suggestion?

Thanks in advance

Giorgio

1 REPLY 1
Sam_SAS
SAS Employee

Hi Giorgio,


Can you share some more information about the problem you are having?

Specifically, what do you mean when you say that you cannot change the variable type?

Are you attempting the task as documented in the user's guide?

https://support.sas.com/documentation/cdl/en/vaug/67500/HTML/default/viewer.htm#n0lwmd82he8anen1qnau...

Also, could you show us what the values of your geographic variable look like?

Thanks,

Sam

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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