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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem: incorrect loading of fields

Hi,

i have a problem with loaded fields that do not match what the original database have. For example:

The original database looks like this:

Usr_IDUsr_Name
080010John
80010Tom

But when I do the load, it changes to this:

Usr_ID
Usr_Name
080010John
080010Tom

The Usr_ID 80010 doesn't exists anymore, and the Usr_ID 080010 its associated with both John and Tom, which is incorrect.

The code is this simple:

LOAD Usr_ID,

    Usr_Name;

SQL SELECT Usr_ID,Usr_Name

FROM `dbo_Users`;

Thanks in advance.

PS. Sorry for my english, my native language is Spanish

1 Solution

Accepted Solutions
Not applicable
Author

My guess is use text(Usr_ID).  Maybe QV thinks Usr_ID is a number (which it is) so it takes the leading 0 off which makes them equal to each other.

View solution in original post

2 Replies
Not applicable
Author

My guess is use text(Usr_ID).  Maybe QV thinks Usr_ID is a number (which it is) so it takes the leading 0 off which makes them equal to each other.

Not applicable
Author

Thank you very much! Problem solved.