Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

loading simple data

Hey all,

I experience an issue loading some data. I try to load a .dat file containing simple data. But I can't calculate anything with the numbers which have this format "100.0". Why QlikView doesn't interpret those figures as integers with decimale "."? Even with things like Num#(Value, '.') nothing works. Simple example:

LOAD * INLINE [

    Product, Country, Value

    A, USA, 100.0

    B, UK, 200.0

    C, FR, 300.0

];

While loading this inline I can't calculate Sums with the column "Value" .... why?  

Thanks for reply!!!

1 Solution

Accepted Solutions
maxgro
MVP
MVP

try with

SET ThousandSep=',';

SET DecimalSep='.';

or

Num#(Value, '#', '.', ',') as Value

View solution in original post

3 Replies
maxgro
MVP
MVP

try with

SET ThousandSep=',';

SET DecimalSep='.';

or

Num#(Value, '#', '.', ',') as Value

fred_s
Partner - Creator III
Partner - Creator III

Or in addition to Massimo, use this:

Load

    Product,

    Country,

    replace(Value, '.', ',') as Valuenew

    ;

LOAD * INLINE [

    Product, Country, Value

    A, USA, 100.0

    B, UK, 200.0

    C, FR, 300.0

];

Grtz Fred

Not applicable
Author

Thanks a lot ... and it was so obvious