<?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: Master Calendar in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523817#M106823</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/232930"&gt;@Vikash938&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this script:&lt;/P&gt;&lt;P&gt;// Load the minimum and maximum dates from the data table&lt;BR /&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Min(myDataColumn) AS MinDate,&lt;BR /&gt;Max(myDataColumn) AS MaxDate&lt;BR /&gt;RESIDENT MyData;&lt;/P&gt;&lt;P&gt;// Create variables for min and max dates&lt;BR /&gt;LET vMinDate = Peek('MinDate', 0, 'TempCalendar');&lt;BR /&gt;LET vMaxDate = Peek('MaxDate', 0, 'TempCalendar');&lt;/P&gt;&lt;P&gt;// Drop temporary table&lt;BR /&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;P&gt;// Generate the Master Calendar using an AutoNumber loop&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Date($(vMinDate) + IterNo() - 1) AS CalendarDate,&lt;BR /&gt;Year(Date($(vMinDate) + IterNo() - 1)) AS Year,&lt;BR /&gt;Month(Date($(vMinDate) + IterNo() - 1)) AS Month,&lt;BR /&gt;Day(Date($(vMinDate) + IterNo() - 1)) AS Day,&lt;BR /&gt;Week(Date($(vMinDate) + IterNo() - 1)) AS Week,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(Date($(vMinDate) + IterNo() - 1))/3) AS Quarter,&lt;BR /&gt;MonthName(Date($(vMinDate) + IterNo() - 1)) AS MonthYear,&lt;BR /&gt;WeekYear(Date($(vMinDate) + IterNo() - 1)) AS WeekYear,&lt;BR /&gt;Date($(vMinDate) + IterNo() - 1, 'YYYY-MM-DD') AS DateKey&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;WHILE $(vMinDate) + IterNo() - 1 &amp;lt;= $(vMaxDate);&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 14:52:22 GMT</pubDate>
    <dc:creator>rafaelencinas</dc:creator>
    <dc:date>2025-07-10T14:52:22Z</dc:date>
    <item>
      <title>Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523797#M106820</link>
      <description>&lt;P&gt;I have dataset and in the dataset date column available and format is DD/MM/YYYY.&lt;BR /&gt;Question is Based on that i want to create an master calendar. How to create in data load editor?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 13:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523797#M106820</guid>
      <dc:creator>Vikash938</dc:creator>
      <dc:date>2025-07-10T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523817#M106823</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/232930"&gt;@Vikash938&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this script:&lt;/P&gt;&lt;P&gt;// Load the minimum and maximum dates from the data table&lt;BR /&gt;TempCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Min(myDataColumn) AS MinDate,&lt;BR /&gt;Max(myDataColumn) AS MaxDate&lt;BR /&gt;RESIDENT MyData;&lt;/P&gt;&lt;P&gt;// Create variables for min and max dates&lt;BR /&gt;LET vMinDate = Peek('MinDate', 0, 'TempCalendar');&lt;BR /&gt;LET vMaxDate = Peek('MaxDate', 0, 'TempCalendar');&lt;/P&gt;&lt;P&gt;// Drop temporary table&lt;BR /&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;P&gt;// Generate the Master Calendar using an AutoNumber loop&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;LOAD&lt;BR /&gt;Date($(vMinDate) + IterNo() - 1) AS CalendarDate,&lt;BR /&gt;Year(Date($(vMinDate) + IterNo() - 1)) AS Year,&lt;BR /&gt;Month(Date($(vMinDate) + IterNo() - 1)) AS Month,&lt;BR /&gt;Day(Date($(vMinDate) + IterNo() - 1)) AS Day,&lt;BR /&gt;Week(Date($(vMinDate) + IterNo() - 1)) AS Week,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month(Date($(vMinDate) + IterNo() - 1))/3) AS Quarter,&lt;BR /&gt;MonthName(Date($(vMinDate) + IterNo() - 1)) AS MonthYear,&lt;BR /&gt;WeekYear(Date($(vMinDate) + IterNo() - 1)) AS WeekYear,&lt;BR /&gt;Date($(vMinDate) + IterNo() - 1, 'YYYY-MM-DD') AS DateKey&lt;BR /&gt;AUTOGENERATE 1&lt;BR /&gt;WHILE $(vMinDate) + IterNo() - 1 &amp;lt;= $(vMaxDate);&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 14:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523817#M106823</guid>
      <dc:creator>rafaelencinas</dc:creator>
      <dc:date>2025-07-10T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523883#M106829</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45380"&gt;@rafaelencinas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for sharing.....&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 04:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar/m-p/2523883#M106829</guid>
      <dc:creator>Vikash938</dc:creator>
      <dc:date>2025-07-11T04:54:02Z</dc:date>
    </item>
  </channel>
</rss>

