<?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: define fiscal year calendar in script with min &amp; max date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684124#M675929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate &lt;/SPAN&gt; = Today();&lt;/P&gt;&lt;P&gt;LET TODate = Today() + 500;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;RowNo(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; DAte($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo()) AS Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo()) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(YearStart($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo(), 0, 10)) as Year&lt;/P&gt;&lt;P&gt;AutoGenerate Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(TODate)&lt;/SPAN&gt; - $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate))&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 09:20:02 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-07-16T09:20:02Z</dc:date>
    <item>
      <title>define fiscal year calendar in script with min &amp; max date</title>
      <link>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684122#M675927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I don't get a financial calendar&lt;/P&gt;&lt;P&gt;I have following things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;CONNECT TO XYZ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Load [Posting Date],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month([Posting Date]) as Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year([Posting Date]) as Year;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;SQL SELECT [Posting Date] FROM XYZ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My intention is to create a calendar with the financial section which is from October YEAR to septemer YEAR+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It would be nice to create a FROM - TO calendar in to tables &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And my 2. lil question is: How can I fix the order of the Month ? with Match? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Because in my database it starts from another date, not october ..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Best regards, Tobias&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 08:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684122#M675927</guid>
      <dc:creator />
      <dc:date>2014-07-16T08:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: define fiscal year calendar in script with min &amp; max date</title>
      <link>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684123#M675928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/73130"&gt;Financial Year vs Calendar&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 08:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684123#M675928</guid>
      <dc:creator />
      <dc:date>2014-07-16T08:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: define fiscal year calendar in script with min &amp; max date</title>
      <link>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684124#M675929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate &lt;/SPAN&gt; = Today();&lt;/P&gt;&lt;P&gt;LET TODate = Today() + 500;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;RowNo(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; DAte($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo()) AS Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo()) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(YearStart($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo(), 0, 10)) as Year&lt;/P&gt;&lt;P&gt;AutoGenerate Floor(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(TODate)&lt;/SPAN&gt; - $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROMDate))&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 09:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684124#M675929</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-16T09:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: define fiscal year calendar in script with min &amp; max date</title>
      <link>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684125#M675930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Month Sorting use match or try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Calendar:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RowNo(),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; DAte($(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo()) AS Date,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alt(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Text(Month($(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: inherit; font-weight: inherit;"&gt;FROMDate)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; + RowNo())), &lt;/SPAN&gt;Match(Text(Month($(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo())), 'Oct', 'Nov', 'Dec', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep')) as Month,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(YearStart($(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FROMDate)&lt;/SPAN&gt; + RowNo(), 0, 10)) as Year&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AutoGenerate Floor(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;$(TODate)&lt;/SPAN&gt; - $(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FROMDate))&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 10:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/define-fiscal-year-calendar-in-script-with-min-max-date/m-p/684125#M675930</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-07-16T10:08:55Z</dc:date>
    </item>
  </channel>
</rss>

