<?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: Create a subroutine with a master calendar in qlik saas in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-a-subroutine-with-a-master-calendar-in-qlik-saas/m-p/2023159#M84447</link>
    <description>&lt;P&gt;Try to add the table with the date field in the data manager, and set the field type to date. Then qliksense will autogenerate derived calendar fields for you.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 11:26:53 GMT</pubDate>
    <dc:creator>E_Røse</dc:creator>
    <dc:date>2023-01-09T11:26:53Z</dc:date>
    <item>
      <title>Create a subroutine with a master calendar in qlik saas</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-subroutine-with-a-master-calendar-in-qlik-saas/m-p/2022324#M84388</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like create a subroutine using the type of master calendar below to use it in other qlik sense saas application:&lt;/P&gt;
&lt;P&gt;Tablename:&lt;BR /&gt;Load SalesDate&lt;BR /&gt;From TableSource;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;MasterCalendar:&lt;BR /&gt;Load&lt;BR /&gt;Date(SalesDate) As SalesDate,&lt;BR /&gt;Year(SalesDate) As Year,&lt;BR /&gt;'Q'&amp;amp;Ceil(Month(SalesDate)/3) AS Quarter,&lt;BR /&gt;Month(SalesDate) As Month&lt;BR /&gt;Week(SalesDate) AS Week;&lt;/P&gt;
&lt;P&gt;Load&lt;BR /&gt;Date(MinDate + IterNo()-1) AS SalesDate&lt;BR /&gt;While (MinDate + IterNo() - 1) &amp;lt;= Num(MaxDate);&lt;/P&gt;
&lt;P&gt;Load&lt;BR /&gt;Min(Date(SalesDate)) As MinDate,&lt;BR /&gt;Max(Date(SalesDate)) As MaxDate&lt;BR /&gt;Resident Tablename;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i don't really know how to use it as depending on many application the datefield would be different.&lt;/P&gt;
&lt;P&gt;And i would like to have a qualify in front of the calendar field.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-subroutine-with-a-master-calendar-in-qlik-saas/m-p/2022324#M84388</guid>
      <dc:creator>random_user_3869</dc:creator>
      <dc:date>2023-01-05T15:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a subroutine with a master calendar in qlik saas</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-subroutine-with-a-master-calendar-in-qlik-saas/m-p/2023159#M84447</link>
      <description>&lt;P&gt;Try to add the table with the date field in the data manager, and set the field type to date. Then qliksense will autogenerate derived calendar fields for you.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 11:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-subroutine-with-a-master-calendar-in-qlik-saas/m-p/2023159#M84447</guid>
      <dc:creator>E_Røse</dc:creator>
      <dc:date>2023-01-09T11:26:53Z</dc:date>
    </item>
  </channel>
</rss>

