Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mikevmalta
Partner - Contributor III
Partner - Contributor III

strange data misinterpretation

Hi,

I have the following scenario:

I am reading codes from the database, where each code consists of numbers and letters. However there are some codes where the letter 'E' is being converted to the letter 'D'. Example:

Temp:

LOAD * INLINE

[

CUSTOMERID, CUSTOMERSTATUS, ADDRESS,                     CODE,

4879,                    Active,                    0030545578D3,                    84,

552829,                    Active,                    0030545578E3,                    35,

];

If you see the data in a table, you will find that both codes are interpreted to '0030545578D3'.

Do you know why this is happening?

Thanks in advance!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Testing also on QV11, after reloading your app, the code changes to the correct value.

I noticed that your field is tagged with numeric, integer, while my field is tagged as text, so probably QV automatic number interpretation in your version plays a role here.

Just an idea, try

Temp:

LOAD CUSTOMERID, CUSTOMERSTATUS, text(ADDRESS) as ADRESS, CODE INLINE

[

CUSTOMERID, CUSTOMERSTATUS, ADDRESS,         CODE,

4879,        Active,        0030545578D3,        84,

552829,        Active,        0030545578E3,        35,

];

View solution in original post

4 Replies
swuehl
MVP
MVP

Sorry, I can't reproduce your issue using the above INLINE table. On which QV version are you?

mikevmalta
Partner - Contributor III
Partner - Contributor III
Author

Hi,

Thanks for your reply.

I am using Qlikview 11. Please find attached my test .qvw.

Thanks

Michael

swuehl
MVP
MVP

Testing also on QV11, after reloading your app, the code changes to the correct value.

I noticed that your field is tagged with numeric, integer, while my field is tagged as text, so probably QV automatic number interpretation in your version plays a role here.

Just an idea, try

Temp:

LOAD CUSTOMERID, CUSTOMERSTATUS, text(ADDRESS) as ADRESS, CODE INLINE

[

CUSTOMERID, CUSTOMERSTATUS, ADDRESS,         CODE,

4879,        Active,        0030545578D3,        84,

552829,        Active,        0030545578E3,        35,

];

mikevmalta
Partner - Contributor III
Partner - Contributor III
Author

Thanks a lot swuehl!

That did the trick