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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ritaaguiar
Creator
Creator

How to associate the date field from 3 data files?

Hi there,

I have a Qlik Sense with three .txt data files. Each of the .txt data files has three fields in commom: Utilizador (Username), Data (Date), and Programa (Program).Qlik Sense 26.png

 

I woould like to have a field block on my sheet which filters all graphics with data from any of these three files.

How can I get a date field which merges all three and thus affects all graphics from any of the 3 data files?

 Qlik Sense 28.png

 You may notice that the Username field (Utilizador) and the Program field (Programa) are both successfully filtering all graphics. I would like that to happen to the date field as well.

I have tried to associate the Date fields but everytime I try that it dissassociates the other Username and Program fields...

58 Replies
pradosh_thakur
Master II
Master II

Hi

 

I don't think you need canonical calendar here to be honest. Your data are same. You can join the tables and can have them in one. Most of the columns in the three tables are same, EXCEPT time, hour, licenses etc. I would advice to join them by creating a key or something.

I would advice you to create sample data(10-20 rows)  if you can't do the modelling and post it, so that we can help you.

regards

Pradosh

Learning never stops.
ritaaguiar
Creator
Creator
Author

@pradosh_thakur How can I create a key to join the dates?

I have attached sample data to this post.

 

pradosh_thakur
Master II
Master II

Sure. Let me have a look.
Learning never stops.
pradosh_thakur
Master II
Master II

Hi Rita,

You don't have the field name in the files. Shall i name them as you have shown in the datamodel?

Thanks
Pradosh
Learning never stops.
ritaaguiar
Creator
Creator
Author

@pradosh_thakur yeah, sure.

ritaaguiar
Creator
Creator
Author

Hi @pradosh_thakur 

Did you manage to understand how to do it? I haven't been able to associate all three date fields yet 😞

pradosh_thakur
Master II
Master II

Hi @ritaaguiar 

 

I am sorry. Somehow this skipped my mind. I will get back. Sorry for the delay.

Thanks

Pradosh

Learning never stops.
ritaaguiar
Creator
Creator
Author

@pradosh_thakur  No worries, thank you for your time and help.

pradosh_thakur
Master II
Master II

I would appreciate if you could just add the column name to the first row of the file and re upload.
Learning never stops.
ritaaguiar
Creator
Creator
Author

@pradosh_thakur Sure. Meanwhile I have been working on automatically adding the column names and optimizing the script I used to create these data log files. I am attaching the files to this post. Thanks.