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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
gkcchowdary
Creator
Creator

how to create master calendar and map to the fields?

Hi

First i need to create master calendar.

i have 3 tables with date fields and 3 dates fields different dates available.so how map the master calendar into this dates fields.


Thanks

daisy

2 Replies
Anil_Babu_Samineni

Perhaps this?


Table:

Load Date1 as DateField, 'Date1' as Flag From T1;

Concatenate

Load Date2 as DateField, 'Date2' as Flag From T2;

Concatenate

Load Date3 as DateField, 'Date3' as Flag From T3;


Calendar:

Load DateField, Week(DateField) as Week, ....;

Load Date(MinDate + IterNo() - 1) as DateField

While Date(MinDate + IterNo() - 1) <= MaxDate;

Load Min(DateField) as MinDate,

          Max(DateField) as MaxDate

Resident Table;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
juraj_misina
Partner Ambassador Affiliate
Partner Ambassador Affiliate

Hi,

I think you need The Fastest Dynamic Calendar Script (Ever)

Best

Juraj