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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

Create Calendar for 3 Dates in 3 Tables

Hello,

I have the following tables:

CUSTOMERS
DOC_NUMLAST_NAMEFIRST_NAMEBIN_NUMBIRTH_DATECREATE_DATE
1SMITHJOHN55701/01/198501/02/2017
2BLACKJACK85502/03/198602/02/2017
3ELLISSOPHIE35804/05/198703/03/2017
4JOHNSONMAX12515/10/198904/03/2017
5DONALDWILL45605/07/198001/04/2017

TRANSACTIONS
BIN_NUMTRANS_DATETRANS_TIMETRANS_NUMSHOPTOTAL
55705/02/201715:152258LOC1558
85507/02/201717:183325LOC1125
35805/03/201720:051225LOC385

AIRLINE_MILES
DOC_NUMMILES_DATEMILES_AMTAIRLINE_NUMSHOPBILL_NUM
105/02/2017100A180LOC1850
207/02/2017200A185LOC1855
305/03/2017300A190LOC3900

The thing is I need to create a Master Calendar to handle the following dates from the 3 tables.

- CUSTOMERS: CREATE_DATE

- TRANSACTIONS: TRANS_DATE

- AIRLINE_MILES: MILES_DATE

So that if I filter one Date (Year/Month/Day) I'd like to know how:

- How many Customers were created on that period of time.

- How many Transactions were made and which amount.

- How many Miles where exchanged on that date.

Do you know how could I connect the Data Model so that I could handle dates from all tables?

Thank you!

2 Replies
rahulpawarb
Specialist III
Specialist III

Hello Micro,

Please refer below:

Canonical Date

Hope this will help.

Regards!

Rahul

tunoi
Creator
Creator

You need to concatenate those 3 tables into one and rename the date fields to have the same name. After that you will be able to build objects that respond to your questions