Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
sujit_nath
Creator III
Creator III

match year month data to calendar

I have data such that:

Range NameRangeFYearFinancial ForecastFQuarterFiscalMonthName
Range1Start2019fc1  
Range2Start2019fc1 Sep
Range3Start2019fc1  
Range4Start2019fc1 Sep
Range5Start2020fc2  
Range6Start2020fc2Q4 
Range7End2020fc2  
Range8End2020fc2Q4 
Range9End2020fc3  
Range10End2020fc3Q4 

 

 

In my master calender, I have running data, like no blanks-

fyearFQuarterFiscalMonthName
2020Q1Jan
2020Q1Feb
2020Q1Mar
2020Q2Apr
2020Q2May
2020Q2

June

-----and so on..

 

How do I link my previous table to this calender?

I am bringing Financial Forecast Value in my master calender as well.

So that I can select the Range Name, and it will be linked to the master calender. My Previous table can contain blanks at places, like if quarter is mentioned, may be possible that month is not mentioned and 2020 Q4 should link accordingly in the master calender.

Labels (1)
2 Replies
Saravanan_Desingh

Are you looking something like this?

tab1:
LOAD [Range Name], Range, FYear, [Financial Forecast]
;
LOAD * INLINE [
    Range Name, Range, FYear, Financial Forecast, FQuarter, FiscalMonthName
    Range1, Start, 2019, fc1,  ,  
    Range2, Start, 2019, fc1,  , Sep
    Range3, Start, 2019, fc1,  ,  
    Range4, Start, 2019, fc1,  , Sep
    Range5, Start, 2020, fc2,  ,  
    Range6, Start, 2020, fc2, Q4,  
    Range7, End, 2020, fc2,  ,  
    Range8, End, 2020, fc2, Q4,  
    Range9, End, 2020, fc3,  ,  
    Range10, End, 2020, fc3, Q4,  
];

Left Join(tab1)
Cal:
LOAD Year(AddMonths('1/1/2019',IterNo()-1)) As FYear
	 ,AddMonths('1/1/2019',IterNo()-1) As FDate
	 ,MonthName(AddMonths('1/1/2019',IterNo()-1)) As FiscalMonthName
	 ,QuarterName(AddMonths('1/1/2019',IterNo()-1)) As FQuarter
AutoGenerate 1
While IterNo()<=24
;
Brett_Bleess
Former Employee
Former Employee

If Saran's post got you what you needed, we would appreciate it if you could return to your thread and use the Accept as Solution button on their post to close the thread which will give them credit for the assist and let other Members know that worked.  

The only other thing I have is the following Design Blog post that may be of some help:

https://community.qlik.com/t5/Qlik-Design-Blog/The-Master-Calendar/ba-p/1471527

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.