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

Announcements
Register by January 31 for $300 off your Qlik Connect pass: Register Now!
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
Champion III
Champion III

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
Champion III
Champion III

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
Champion III
Champion III

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