Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How can I import a numeric field as a text field in a QVD file ?
For ex. I have a import a field with value "02" and with value "2" . I want to have two values in my QVD .
You can try the function Text() and Num();
LOAD
TEXT(Num(FIELD,'00')) AS FIELD_TEXT
FROM TABLE;
You can try the function Text() and Num();
LOAD
TEXT(Num(FIELD,'00')) AS FIELD_TEXT
FROM TABLE;
THX for fast reply.
Seems that problem is not solved.
Via ODBC connectie via DB access I get value "2" and "02" . In Qlikview I get only one value "02" ? Even with the TEXT function ?
Why...
Hi
Just use TEXT(Field) Instead.
The num function Num(FIELD, '00')) formats the text representation to 02
Regards
Micke
OK Now its working. It did something wrong. THX.
Why is this not default taking over the right content. Why is Qlikview changing the content of the Progress field "2" in "02" ?
Ok I understand.
But does this means that for every ALFA FIELD in the external Database, where we have alfa characters together with numbers , that we have to specify TEXT per field for importing into Qlikviewx ?
Is there not a general option to avoid this ?
That's right, to really determine a data type. You must use the functions a Num() and Text().