<?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: date granularity in script and storing as table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177653#M382073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="222"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" width="94"&gt;month output&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="35" width="94"&gt;Key&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;Created date&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;16-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;16-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2016 12:08:23 GMT</pubDate>
    <dc:creator>manoranjan_d</dc:creator>
    <dc:date>2016-05-31T12:08:23Z</dc:date>
    <item>
      <title>date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177641#M382061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="144"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="35" width="35"&gt;Key&lt;/TD&gt;&lt;TD class="xl64" width="62"&gt;Created date&lt;/TD&gt;&lt;TD class="xl64" width="47"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;10-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;11-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;12-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;13-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;15-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;45455&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;16-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;10-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;11-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;12-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;13-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;14-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;45455&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;15-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;16-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;17-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;18-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;19-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;10-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;11-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;12-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;13-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;14-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;15-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;45455&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;16-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;10-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;11-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;12-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;13-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;14-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;45455&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;15-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;16-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;17-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;18-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="21" width="35"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl67" width="62"&gt;19-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl66" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi above is my data,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I need the distinct key with max date for the week , for the month , for the quarter , for the year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;These (week, month, quater and year)&amp;nbsp; has to be retrieved&amp;nbsp; form the above table and these has to stored&amp;nbsp; as separate table as week, year, quarter, month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;can you help me how these can achieved in the script level&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177641#M382061</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T11:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177642#M382062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to keep the max date for every dimension, or do you want to pick the date with the maximum amount for each period?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177642#M382062</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-31T11:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177643#M382063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, and to avoid misunderstandings, can you add a table with the required output for this particular data sample? Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177643#M382063</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-31T11:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177644#M382064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pick the data with maximum date only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will say an example in the data&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="144"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="35" width="35"&gt;Key&lt;/TD&gt;&lt;TD class="xl66" width="62"&gt;Created date&lt;/TD&gt;&lt;TD class="xl66" width="47"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl69" width="62"&gt;10-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl68" width="47"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl69" width="62"&gt;11-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl68" width="47"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl69" width="62"&gt;12-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl68" width="47"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl69" width="62"&gt;13-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl68" width="47"&gt;15456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="35"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl69" width="62"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl68" width="47"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the key1 has been repeated 5 times in a week , so the key count should not be 5 times, it should be count as 1 with max date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the output for the oct xth week is key1 14oct2016 1564 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similar to month, quater and year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177644#M382064</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T11:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177645#M382065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD Key,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FROM table;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;left join(Data)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD key,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(max(&lt;SPAN style="font-size: 13.3333px;"&gt;CreatedDate&lt;/SPAN&gt;)) as &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;STRONG&gt;CreatedDate&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as MaxDateFlag&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;resident Data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;group by key;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Final:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;noconcatenate&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;resident Data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;where &lt;SPAN style="font-size: 13.3333px;"&gt;MaxDateFlag=1;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;drop table Data;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177645#M382065</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-31T11:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177646#M382066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the key1 is repeating in xth week of 2015 and xth of 2016, i need the max date for both years.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177646#M382066</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T11:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177647#M382067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is only for the date max i need the separate table for week,month quater and year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177647#M382067</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T11:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177648#M382068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you need separate table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to create the field in table itself&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Data:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Key,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FROM table;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;left join(Data)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD key,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;CreatedDate&lt;/SPAN&gt;)) as &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;CreatedDate&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as MaxDateFlag&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;resident Data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;group by key;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Final:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;noconcatenate&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD *,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;CreatedDate) as Year,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month(&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;CreatedDate) as Month,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;CreatedDate) as Week,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Q' &amp;amp; ceil(month(&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;CreatedDate&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;)/3) as Quarter&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;resident Data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;where &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;MaxDateFlag=1;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;drop table Data;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177648#M382068</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-31T11:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177649#M382069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't manage to put everything in one table because week numbers may cross month borders. Two tables at the least. You can proceed from here, as I don't think this can be used as-is in whatever document you're preparing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="126342" alt="Date granularity in script thread218975.jpg" class="jive-image image-1" height="355" src="/legacyfs/online/126342_Date granularity in script thread218975.jpg" style="height: 355px; width: 649.263px;" width="649" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177649#M382069</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-31T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177650#M382070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chawda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i fu put max date then it ll take only one date, suppose if the key 1 is repeating on the next month (nov) then&amp;nbsp; it ll take only the november month only, then it wont take the oct weeks max date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177650#M382070</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T11:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177651#M382071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want three different tables, replace the JOIN of the second GROUP BY LOAD with a new table name and give the Month and Year fields unique names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177651#M382071</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-31T11:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177652#M382072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;peter u r almost right there but quater is missing, let me check this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below s the output required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="306"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="35" width="88"&gt;Key&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;Created date&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;amount&lt;/TD&gt;&lt;TD class="xl66" width="90"&gt;Weeknumber&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;15-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;45455&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;16-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;100&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;12-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;15456&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;16-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;100&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;45455&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="88"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none;" width="90"&gt;xx week&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="244"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" width="101"&gt;Quarter output&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="35" width="101"&gt;Key&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;Created date&lt;/TD&gt;&lt;TD class="xl66" width="79"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="101"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="79"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="101"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="79"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="101"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="79"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="101"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="79"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="101"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="79"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="101"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="79"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="207"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" width="79"&gt;Year output&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="35" width="79"&gt;Key&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;Created date&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="79"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="79"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="79"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="79"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="79"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="79"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 12:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177652#M382072</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T12:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177653#M382073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="222"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="21" width="94"&gt;month output&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="35" width="94"&gt;Key&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;Created date&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;Key1&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;14-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;16-Oct-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;16-Oct-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key2&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;13-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-16&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="21" width="94"&gt;key3&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;19-Nov-15&lt;/TD&gt;&lt;TD align="right" class="xl69" width="64"&gt;1564&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 12:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177653#M382073</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T12:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177654#M382074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;peter i cant see the quater wise data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 12:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177654#M382074</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T12:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177655#M382075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All data matches, except for the weeks. How do you calculate the week number? Not by using 'x'-numbers I guess &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 12:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177655#M382075</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-31T12:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177656#M382076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought the week start from Sunday, so it got mismatch, i agree that week number is calculated from monday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant take manually calculation for the weeknumber, so to show the output i just shown it as xxx&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can I know quaterly wise max date data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 17:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177656#M382076</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-05-31T17:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: date granularity in script and storing as table</title>
      <link>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177657#M382077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m waiting for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 06:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-granularity-in-script-and-storing-as-table/m-p/1177657#M382077</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-06-01T06:59:52Z</dc:date>
    </item>
  </channel>
</rss>

