Skip to main content
Announcements
Global Transformation Awards submissions are open! SUBMIT YOUR STORY
cancel
Showing results for 
Search instead for 
Did you mean: 
Danelle
Contributor II
Contributor II

Loading Data with joins/concatenate, with 2 linked fields

Good day

I really hope you can help me, I need to build a model that tracks all the different things that can happen to a sim card, but I'm struggling to find the best way to load the tables.  Unfortunately all of the data has the ICCID as unique identifier as well as the Date (which I cannot rename, since I need the Master Calendar to work), this creates problems when trying to load the tables, so for instance everything that needs to be tracked per ICCID

Day of sale
Day of Rica
Day of Connection
Month of Activation
Amount of Recharge per Day
Amount of Usage per Day
Which months it was in a specific Regional Location

Since all of these tables have both ICCIDs and Dates in them, I usually concatenated the whole load and work out from there, the problem now comes in when trying to bring in Regional locations as well, since selecting a region effectively deselects all the info, I've tried Join, but it still created the duplicate entries on the ICCID, and Left join also doesn't work as the date messes that up as well.  Is there a way to left join only using ICCID while populating all info on the date?  Please help, I'm lost

Exampe of table create for a single ICCID:

ICCIDDATE_KEYUSAGEREGIONCONNECTION_CountRECHARGERICA_Count
9914749422752019-11-01 Limpopo   
9914749422752019-11-01   10 
9914749422752019-11-0520    
9914749422752019-11-05  1  
9914749422752019-11-05    1
9914749422752019-11-05   10 
9914749422752019-11-065    
9914749422752019-11-0710    
9914749422752019-11-082    
9914749422752019-11-08   10 
9914749422752019-12-01 Limpopo   
1 Reply
Brett_Bleess
Former Employee
Former Employee

Check out the following Design Blog post, it may give you another avenue with the dates:

https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578

Hopefully it is of some use.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.