Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Combining DateFields from different tables.

Hello,

I'm currently working with some database, that have and arrival table and a departure table, each with the field DATE.

They both in same format, and so i didnt have them as a syntetic key, i rename as DateA and DateD.

At the end of my script, im creating a Master Candelar, wich divides by quarter, weeks, etc.

I usually use only one Date in one table. What i do first is get the max and min date to know the range of dates im creating.

It usually goes likes this:

load

Max(PostingDate) as MAX_DATE,

Min(PostingDate) as MIN_DATE

Resident [Account Document Header];

Now, i need to do that but with 2 different date fields from 2 different tables.

To determine the max or min its just a simpe if, but i dont know how to extract form 2 different tables.

Any Ideas?

thanks.

1 Reply
Gysbert_Wassenaar

See this document and the comments: Tutorial - Using Common Date Dimensions and Shared Calendars


talk is cheap, supply exceeds demand