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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Null Name After JOIN

Hello,

I have this simple two files joined on TYPE & SEND_DATE. 

However, when joined, one of the record have two rows when looking at two metrics (one from each of the two data sources).

Email_Send is one metric

Order is another metric.

I have included two files for you to look into in details.

QVNullNameJOIN.jpg  This screenshot shows the deplicate rows (I need to have them combined).

LAW.qvw is the actual file.

If you look at other Name, Email_Send & Order are combined into one row.  I am suspecting SEND_DATE format is NOT exactly the smae causing the join to have duplicates.  Can someone give me a pointer on how to join on exact format?  Maybe need to convert to string and then join is safer? 

This is a rather urgent report, so if anyone could help out, I would really appreciate it.

Sincerely!

Labels (1)
2 Replies
Not applicable
Author

QVNullNameJOIN2.jpg

I tried converting the field to string using text() function.

From the image above, I notice the date fields are converted differently.  One data source is converting to 41116.4625 and the other data source is converting to 41116.  Is there a way that I can convert them to exact same format before the JOIN so no duplicate rows will return in my qlikview report?

Can anyone shed some light?

Lee_Matthews
Former Employee
Former Employee

I assume from the above you are trying to join on two date fields. It looks like one field has the time in the date value as well, resulting in the decimal places. Just convert the dates to number using num() or num#() (I never know which to use so just try both) and then use the floor() function to round down to the nearest integer.