<?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: Pls explain below script ? how it works ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667073#M1078872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;your script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'01/01/2014' + rowno() as DATE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;autogenerate 365;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATE,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year(DATE) &amp;amp; right('00' &amp;amp; week(DATE),2) as YYYYWW,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year(DATE) &amp;amp; right('00' &amp;amp; num(Month(DATE)),2) as YYYYMM,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year(DATE) &amp;amp; ceil(num(Month(DATE))/3) as YYYYK,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Quarter' &amp;amp; ceil(num(Month(DATE))/3) as QUARTER&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and the function used (from online help)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;String concatenation. The operation returns a text string, that consists of the two operand strings, one after another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right(s,n)&lt;/P&gt;&lt;P&gt;Substring of the string &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt;. The result is a string consisting of the last &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; characters of &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ceil(&lt;SPAN class="Italic"&gt;x [ , base [ , offset ]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Rounding of &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt; upwards to the nearest multiple of &lt;SPAN class="Italic"&gt;base&lt;/SPAN&gt; with an offset of &lt;SPAN class="Italic"&gt;offset&lt;/SPAN&gt;. The result is a number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;week(date)&lt;/P&gt;&lt;P&gt;Returns an integer representing the week when the fraction of &lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt; is interpreted as a &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; according to the standard number interpretation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month(date)&lt;/P&gt;&lt;P&gt;Month. Returns a text string representing the month when the fraction of &lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt; is interpreted as a date, but can be formatted as a number. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Jul 2014 16:13:44 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-07-13T16:13:44Z</dc:date>
    <item>
      <title>Pls explain below script ? how it works ?</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667071#M1078870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Year(DATE) &amp;amp; right(’00′ &amp;amp; week(DATE),2) as YYYYWW,&lt;/P&gt;&lt;P&gt;Year(DATE) &amp;amp; right(’00′ &amp;amp; num(Month(DATE)),2) as YYYYMM,&lt;/P&gt;&lt;P&gt;Year(DATE) &amp;amp; ceil(num(Month(DATE))/3) as YYYYK,&lt;/P&gt;&lt;P&gt;‘Quarter’ &amp;amp; ceil(num(Month(DATE))/3) as QUARTER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls explain me&amp;nbsp;&amp;nbsp; i am great full to u &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jul 2014 12:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667071#M1078870</guid>
      <dc:creator />
      <dc:date>2014-07-13T12:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pls explain below script ? how it works ?</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667072#M1078871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manojqlik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is combining 2 fields to present a date in the dashboard like YearWeek, YearMonth etc.&lt;/P&gt;&lt;P&gt;To do this you need to combine fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(DATE) is creating a year from the date field.&lt;/P&gt;&lt;P&gt;right(’00′ &amp;amp; week(DATE),2)&amp;nbsp; is creating a week from the date field but is including 00 as prceding number. So you will get 2014(year)0010(week).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that clear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jul 2014 16:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667072#M1078871</guid>
      <dc:creator>jjordaan</dc:creator>
      <dc:date>2014-07-13T16:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pls explain below script ? how it works ?</title>
      <link>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667073#M1078872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;your script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;t:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'01/01/2014' + rowno() as DATE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;autogenerate 365;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATE,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year(DATE) &amp;amp; right('00' &amp;amp; week(DATE),2) as YYYYWW,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year(DATE) &amp;amp; right('00' &amp;amp; num(Month(DATE)),2) as YYYYMM,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Year(DATE) &amp;amp; ceil(num(Month(DATE))/3) as YYYYK,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'Quarter' &amp;amp; ceil(num(Month(DATE))/3) as QUARTER&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident t&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and the function used (from online help)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;String concatenation. The operation returns a text string, that consists of the two operand strings, one after another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right(s,n)&lt;/P&gt;&lt;P&gt;Substring of the string &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt;. The result is a string consisting of the last &lt;SPAN class="Italic"&gt;n&lt;/SPAN&gt; characters of &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ceil(&lt;SPAN class="Italic"&gt;x [ , base [ , offset ]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Rounding of &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt; upwards to the nearest multiple of &lt;SPAN class="Italic"&gt;base&lt;/SPAN&gt; with an offset of &lt;SPAN class="Italic"&gt;offset&lt;/SPAN&gt;. The result is a number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;week(date)&lt;/P&gt;&lt;P&gt;Returns an integer representing the week when the fraction of &lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt; is interpreted as a &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; according to the standard number interpretation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month(date)&lt;/P&gt;&lt;P&gt;Month. Returns a text string representing the month when the fraction of &lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt; is interpreted as a date, but can be formatted as a number. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jul 2014 16:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pls-explain-below-script-how-it-works/m-p/667073#M1078872</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-13T16:13:44Z</dc:date>
    </item>
  </channel>
</rss>

