Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How QV distinct between '0' and '00'

Hi to everybody,

I have a big problem loading files with my QV version 10.00:

when I load a file that  contain in the same field in a record '0' in another one '00', Qv sets the format equal to the first.

So if the first is '0' all the next records that contain '00' or '000' become '0'; instead if the first is '00', all the other become '00'.

How can I solve this issue?

Thanks in advance

PG

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Use TEXT() function to translate you field at script level

View solution in original post

3 Replies
Clever_Anjos
Employee
Employee

Use TEXT() function to translate you field at script level

Not applicable
Author

Thanks to Clever Anjos,

Now I can't use Text() into a "SQL select" with ODBC, because the DB2 server don't recognizes the function, but I think that is possible to solve the problem making a load after the SQL select, that it's all right!

Thanks, see you soon. PG

Clever_Anjos
Employee
Employee

Use a preceding LOAD

LOAD

      text(yourfield) as youfield;

SQL SELECT

...

...