<?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 Qlik in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2505788#M104044</link>
    <description>&lt;P&gt;Replace your 'iterno()' with 'recno()' and your calendar should be fine.&lt;/P&gt;
&lt;P&gt;(Or maybe you need to replace it with 'rowno()')&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
    <pubDate>Thu, 13 Feb 2025 15:56:43 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2025-02-13T15:56:43Z</dc:date>
    <item>
      <title>Master Calendar in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2505782#M104040</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;BR /&gt;I was trying to build master calendar in Qlik based on Sales Date column in Sales table, but I am getting only 2021 may 5th date for whole calendar table but I am having dates till 2025 in Sales date, please help me if I am doing anything wrong in script&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;// Find Min and Max Date from Sales Table&lt;BR /&gt;TempMinMax:&lt;BR /&gt;LOAD &lt;BR /&gt;Min("Sales Date") AS MinDate,&lt;BR /&gt;Max("Sales Date") AS MaxDate&lt;BR /&gt;RESIDENT Sales;&lt;/P&gt;
&lt;P&gt;// Generate a continuous date range&lt;BR /&gt;LET vMinDate = Peek('MinDate', 0, 'TempMinMax');&lt;BR /&gt;LET vMaxDate = Peek('MaxDate', 0, 'TempMinMax');&lt;/P&gt;
&lt;P&gt;// Create Master Calendar&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;LOAD &lt;BR /&gt;Date($(vMinDate) + IterNo() - 1) AS "Sales Date",&lt;BR /&gt;Year($(vMinDate) + IterNo() - 1) AS Year,&lt;BR /&gt;Month($(vMinDate) + IterNo() - 1) AS Month,&lt;BR /&gt;'Q' &amp;amp; Ceil(Month($(vMinDate) + IterNo() - 1) / 3) AS Quarter,&lt;BR /&gt;Week($(vMinDate) + IterNo() - 1) AS Week,&lt;BR /&gt;Day($(vMinDate) + IterNo() - 1) AS Day,&lt;BR /&gt;MonthName($(vMinDate) + IterNo() - 1) AS MonthYear&lt;BR /&gt;AUTOGENERATE $(vMaxDate) - $(vMinDate) + 1;&lt;/P&gt;
&lt;P&gt;// Drop temporary table&lt;BR /&gt;DROP TABLE TempMinMax;&lt;BR /&gt;&lt;BR /&gt;and below is how date from sales date looks like&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mouni09_0-1739460973548.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177523i7DB815B173BB5D9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mouni09_0-1739460973548.png" alt="Mouni09_0-1739460973548.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt; &lt;!-- Toolbar --&gt;&lt;!--
        Site Menu
    --&gt; &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;&lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;
&lt;ASIDE id="ae_toolbar" tabindex="0" aria-label="Accessibility options"&gt;&lt;/ASIDE&gt;
&lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 15:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2505782#M104040</guid>
      <dc:creator>Mouni09</dc:creator>
      <dc:date>2025-02-13T15:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2505788#M104044</link>
      <description>&lt;P&gt;Replace your 'iterno()' with 'recno()' and your calendar should be fine.&lt;/P&gt;
&lt;P&gt;(Or maybe you need to replace it with 'rowno()')&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="ae_app" data-nosnippet=""&gt;&lt;!--
        Layout, Style or Voice Helpers
    --&gt;
&lt;DIV id="ae_helpers" class="ae-module" style="display: none;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!--
        Compliance
    --&gt;
&lt;DIV id="ae_compliance" class="ae-module" style="display: none;"&gt;&lt;!-- For autoSmartRem addNewWindowWarnings div is referenced in an aria-describedby --&gt;
&lt;DIV id="audioeye_new_window_message" style="display: none;"&gt;Opens in new window&lt;/DIV&gt;
&lt;DIV id="audioeye_pdf_message" style="display: none;"&gt;PDF Download&lt;/DIV&gt;
&lt;DIV id="audioeye_word_message" style="display: none;"&gt;Word Download&lt;/DIV&gt;
&lt;DIV id="audioeye_excel_message" style="display: none;"&gt;Excel Download&lt;/DIV&gt;
&lt;DIV id="audioeye_powerpoint_message" style="display: none;"&gt;PowerPoint Download&lt;/DIV&gt;
&lt;DIV id="audioeye_document_message" style="display: none;"&gt;Document Download&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;!--
        Versioning Control Panel if versioning = true !
    --&gt; &lt;!--
        Launcher
    --&gt;  &lt;!-- Toolbar --&gt;  &lt;!--
        Site Menu
    --&gt;  &lt;!--
        Generic Aria Live message container
    --&gt;
&lt;DIV id="ae_enabled_messages" class="ae-blurb-noaudio" aria-relevant="additions" aria-live="assertive"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;!-- Symbol definitions --&gt;    &lt;/DIV&gt;
&lt;!-- end #ae_app --&gt;</description>
      <pubDate>Thu, 13 Feb 2025 15:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2505788#M104044</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-02-13T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2506022#M104085</link>
      <description>&lt;P&gt;The Sales Dates are in text format (left aligned). You want to convert them to date format in the transaction table first. In the load statement reading the transactions:&lt;/P&gt;
&lt;P&gt;date#(SalesDate,'M/D/YYYY') as SalesDate&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 11:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2506022#M104085</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-02-15T11:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2506029#M104086</link>
      <description>&lt;P&gt;&lt;SPAN&gt;not sure iterno() increments without while (or other loop "statement"):&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;AUTOGENERATE (1) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;while $(vMinDate) +iterno()-1 &amp;lt;=$(vMaxDate);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 19:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2506029#M104086</guid>
      <dc:creator>mikaelsc</dc:creator>
      <dc:date>2025-02-15T19:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Master Calendar in Qlik</title>
      <link>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2506037#M104088</link>
      <description>&lt;P&gt;Logic seeams correct .. Did you check that Sales Date is being interpreted correctly? You can try converting it explicitly:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TempMinMax:&lt;BR /&gt;LOAD&lt;BR /&gt;Min(Date#("Sales Date", 'M/D/YYYY')) AS MinDate,&lt;BR /&gt;Max(Date#("Sales Date", 'M/D/YYYY')) AS MaxDate&lt;BR /&gt;RESIDENT Sales;&lt;/P&gt;
&lt;P&gt;and check in the script execution log&lt;/P&gt;
&lt;P&gt;TRACE vMinDate = $(vMinDate);&lt;BR /&gt;TRACE vMaxDate = $(vMaxDate);&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2025 07:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Master-Calendar-in-Qlik/m-p/2506037#M104088</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-16T07:51:00Z</dc:date>
    </item>
  </channel>
</rss>

