Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
kmswetha
Creator
Creator

load issue

While loading below table with different rows, they are coming up as one after loading. One row is getting over-ridden by other. 

Hash key is also same.

load * Inline [

Field A
2896-0003-01
2896-0002-30

]

Output

kmswetha_0-1673011550498.png

Any idea why is it happening?

 

Labels (2)
5 Replies
justISO
Specialist
Specialist

Hi, strange, but I believe Qlik is treating such string as date. Maybe try to convert it to text with something like:

load text([Field A]) as [Field A];
load * Inline [
Field A,
2896-0003-01,
2896-0002-30];

Bill_Britt
Former Employee
Former Employee

Hi,

I think I would contact support with this issue.  I loaded your data and when I go in table viewer, I see the same number twice.

 

2023-01-06 09_24_54-C__Users_bbt.QTSEL_Desktop_test.qvw.png

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
MarcoWedel

one example that confirms this string being interpreted as date:

MarcoWedel_0-1673029961238.png

table1:
load *,
     Date(FieldA,'MM/DD/YYYY') as FieldAdate,
     Text(FieldA) as FieldAtxt,
     Num(FieldA) as FieldAnum
Inline [
FieldA
2896-0003-01
2896-0002-30
]
kmswetha
Creator
Creator
Author

Though it is date a unique number has to be generated internally while loading right? I've checked for 2022-0002-30 and 2022-0003-01 and they seem to be generating different unique number when converted to data and even if not convert they load.

 

Oliver_F
Partner - Creator III
Partner - Creator III

as it was already proven by @MarcoWedel that it is interpretated a date, my assumption is that qlik uses first of march as a substitution for the 30.2. because february has only 28 (or 29) days. Therefore both strings get the same integer/date value.