<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to create calender with start-date and end-date with in same table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662218#M729217</link>
    <description>&lt;P&gt;You can generate all Dates between Start date &amp;amp; End date using below method&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;T1:
LOAD
    Stream,
    "Team Name",
    Iteration,
    date(Start_Date+IterNo()-1) as Date,
    End_Date
FROM [lib://Download/Iteration.xlsx]
(ooxml, embedded labels, table is Sheet1)
while Start_Date+IterNo()-1&amp;lt;=End_Date;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now using this Date field, you can generate the master calendar. It should work fine&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 18:43:13 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-01-02T18:43:13Z</dc:date>
    <item>
      <title>How to create calender with start-date and end-date with in same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662124#M729214</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am facing one facing while creating master calendar with start date and end date. can any one help me on this. i am sharing sample excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;in sample file i have columns like stream, Iteration, start-date and end-date.&lt;/P&gt;&lt;P&gt;by using common field Iteration i created like this&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load Stream,Team Name, Iteration, Start-date, end-date from excel&lt;/P&gt;&lt;P&gt;Link_Table:&lt;/P&gt;&lt;P&gt;Load Itearation&lt;/P&gt;&lt;P&gt;Start_date as Date&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp;Table1&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;Load Itearation&lt;/P&gt;&lt;P&gt;end_date as Date&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp;Table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after creating this, i created a master calendar. but here i am getting issue when i am selecting date column from master calendar . it is not selecting any data related to Iteration. it is selecting year,month which is related to master calendar data. but when i am checking at tableviewer both tables has linked, but&amp;nbsp; fuctionality is not working. can any one help on this. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662124#M729214</guid>
      <dc:creator>shabarish0587</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create calender with start-date and end-date with in same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662186#M729215</link>
      <description>&lt;P&gt;Have a look at the following Design Blog post on creating a Master Calendar, hopefully that will get you on the right track with things.&amp;nbsp; I am going to provide another Calendar related post too just in case and lastly the base Design Blog URL in case you want to search there yourself:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Master-Calendar/ba-p/1471527" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Master-Calendar/ba-p/1471527&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 16:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662186#M729215</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-02T16:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create calender with start-date and end-date with in same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662188#M729216</link>
      <description>&lt;P&gt;see attached qvw.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;1:
LOAD Stream, 
     [Team Name], 
     Iteration, 
     Start_Date, 
     End_Date,
     MonthName(Start_Date) as MonthYear
FROM
[C:\Users\admin\Downloads\Iteration.xlsx]
(ooxml, embedded labels, table is Sheet1);

Link_Table:
LOAD min(Start_Date) as minDate,
     max(End_Date) as maxDate
Resident 1; 

LET vMinDate = Num(Peek('minDate', 0, 'Temp'));
LET vMaxDate = Num(Peek('maxDate', 0, 'Temp'));
DROP Table Link_Table; 

TempCalendar:
LOAD
  $(vMinDate) + IterNo() - 1 as Num,
  Date($(vMinDate) + IterNo() - 1) as TempDate

AutoGenerate 1 While $(vMinDate) + IterNo() -1 &amp;lt;= $(vMaxDate); 

MasterCalendar:
LOAD
  TempDate as Date,
  Week(TempDate) as Week,
  Year(TempDate) as Year,
  Month(TempDate) as Month,
  Day(TempDate) as Day,
  Weekday(TempDate) as WeekDay,
  'Q' &amp;amp; ceil(month(TempDate) / 3) as Quarter,
  'Q' &amp;amp; Ceil(Month(TempDate)/3) &amp;amp; '-' &amp;amp; Year(TempDate) as QuarterYear,
  MonthName(TempDate) as MonthYear,
  Week(TempDate)&amp;amp;'-'&amp;amp;Year(TempDate) as WeekYear
Resident TempCalendar
Order By TempDate ASC;
DROP Table TempCalendar;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Jan 2020 16:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662188#M729216</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2020-01-02T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create calender with start-date and end-date with in same table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662218#M729217</link>
      <description>&lt;P&gt;You can generate all Dates between Start date &amp;amp; End date using below method&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;T1:
LOAD
    Stream,
    "Team Name",
    Iteration,
    date(Start_Date+IterNo()-1) as Date,
    End_Date
FROM [lib://Download/Iteration.xlsx]
(ooxml, embedded labels, table is Sheet1)
while Start_Date+IterNo()-1&amp;lt;=End_Date;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now using this Date field, you can generate the master calendar. It should work fine&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 18:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-calender-with-start-date-and-end-date-with-in-same/m-p/1662218#M729217</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-02T18:43:13Z</dc:date>
    </item>
  </channel>
</rss>

