Convert 'String' Data Into 'Geospatial' in Analysis

Dear Community,

I am working on an Analysis using a dataset that I cannot edit. In the analysis, I need to convert the ‘Country’ field from string to geospatial (Country), in order to use it in a map visual. Is it possible to do so using calculated fields?
I am aware I can change this when preparing the dataset, but is it possible to do it within an analysis?

Thank you,
Gine

Hi @ginevrap
so what you are asking. If it is possible to define the string country field as a geo country field within the analysis, right?
BR

@ginevrap ,
You cannot change ‘Country’ field from string to geospatial (Country) in analysis. It has to be done in dataset .
If you don’t have access to edit dataset , you can still create child dataset by opting for “USE IN DATASET” option from dataset summary.

image

While in child dataset you can convert to Geospatial country attribute . Once you save your child dataset you can replace it on analysis.
Hope this helps.

2 Likes

Hi @ErikG,
Correct that was my question. I understand from the reply below that it is not possible to do so within the Analysis.

Thank you,
Ginevra

Hi Neeraj,

Thanks for your help! This is a good workaround, I’ll give it a go.

Have a nice day,
Gine