Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

Calendar for 3 Tables with Three Dates

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 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 create the Data Model so that I could handle dates from all tables at a time?

Thanks!

2 Replies
Anonymous
Not applicable

How about this??

In your calendar,

Load Date,

Date as CREATE_DATE,

Date as TRANS_DATE,

Date as MILES_DATE,

........

.......

..

....

From your master calender.

jonathandienst
Partner - Champion III
Partner - Champion III

You have two options:

  • Create copies of the calendar for each date
  • Set up a canonical calendar - see here for more Canonical Date

These may also help

Creating A Master Calendar

How to use - Master-Calendar and Date-Values

QlikView Date fields

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein