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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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