Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Importing Excel File with Longitude and Latitude help

HI,

Im trying to import an Excel file with Longitude and Latitude but when I run the import script the '.' are converted into ',' (comma's).  How can I keep the format of the these fields?

This is my import script :

LOAD

     lat,

     lng,

     Item

FROM

C:\uk_test.xlsx

(ooxml, embedded labels, table is uk_test);

Many thanks for any help!

Fiorano

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

HI,

Try like this

LOAD

    Text(lat) AS lat,

     Text(lng) AS lng,

     Item

FROM

C:\uk_test.xlsx

(ooxml, embedded labels, table is uk_test);

Regards,

Jagan.

View solution in original post

3 Replies
Not applicable
Author

hi,

change environment varibale DecimalSep to '.'.

SET DecimalSep=',';

replace above statement with with below one

SET DecimalSep='.';

Niranjan M.

jagan
Partner - Champion III
Partner - Champion III

HI,

Try like this

LOAD

    Text(lat) AS lat,

     Text(lng) AS lng,

     Item

FROM

C:\uk_test.xlsx

(ooxml, embedded labels, table is uk_test);

Regards,

Jagan.

Not applicable
Author

Hi I tried this and the latitude figures are now showing as single figures  : '5'

Fiorano