<?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 New Records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893355#M311044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Thanks for the reply.&lt;/P&gt;&lt;P&gt;Hope i didnt confuse you. The above IF statement doesnt works. 6/30/2011 is the "min" TempDate where company ABC and XYZ has for the month start date.&amp;nbsp; Final_Date for this two company should be 7/1/2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i expect for the If Statement is:&lt;/P&gt;&lt;P&gt;"If TempDate = the min date (6/30/2011) then Final Date will be next month first day (7/1/2011)&lt;/P&gt;&lt;P&gt;Else Final Date will be 15th day of previous month. (5/15/2011)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two other companies which are correct:&lt;/P&gt;&lt;P&gt;Sam - Tempdate=12/31/2012; Final_Date=11/15/2012&lt;/P&gt;&lt;P&gt;Tom - Tempdate=9/30/2012; Final_Date=8/15/2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help out again! Many Thanks!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 21:16:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-07T21:16:40Z</dc:date>
    <item>
      <title>Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893346#M311035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an excel load file where i need some help with creating new records. I need these new records to do some calculation when it loads to memory. Please see below table. Column A, B,and C (up until 250) are from the inintial load file.&amp;nbsp; Column D is the new records that i wanted to create. Also, the last 2 items (1000; 9/30/2013) on column C &amp;amp; D is base on column A &amp;amp; B max().&amp;nbsp; Any input will be greatly appreciated! Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 256px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;TempDate&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Final Value&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Final_date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/30/2011&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-100&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;7/1/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;9/30/2011&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;12/31/2011&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;11/15/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;3/31/2012&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;400&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/30/2012&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;9/30/2012&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;12/31/2012&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;700&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;11/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;3/31/2013&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;800&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;6/30/2013&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;900&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl70" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;9/30/2013&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1000&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;250&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;1000&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;9/30/2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the final piece that i wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="64"&gt;Final&lt;BR /&gt;&amp;nbsp; Value&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Final_date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;-100&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;7/1/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;11/15/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;11/15/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;250&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="17"&gt;1000&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;9/30/2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 18:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893346#M311035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-06T18:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893347#M311036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14362128245943531 jive_text_macro" jivemacro_uid="_14362128245943531"&gt;
&lt;P&gt;Temp:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Date(Date#(TempDate,'M/DD/YYYY')) as TempDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Value,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Final Value]&lt;/P&gt;
&lt;P&gt;Inline&lt;/P&gt;
&lt;P&gt;[&lt;/P&gt;
&lt;P&gt;&amp;nbsp; TempDate, Value, Final Value&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 6/30/2011, 100, -100&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 9/30/2011, 200, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 12/31/2011, 300, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 3/31/2012, 400, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 6/30/2012, 500, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 9/30/2012, 600, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 12/31/2012, 700, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 3/31/2013, 800, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 6/30/2013, 900, 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 9/30/2013, 1000, 250&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Final:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Final Value],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If(RowNo() = 1, MonthStart(TempDate,1), MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date&lt;/P&gt;
&lt;P&gt;Resident Temp&lt;/P&gt;
&lt;P&gt;Order By TempDate;&lt;/P&gt;
&lt;P&gt;Load &lt;/P&gt;
&lt;P&gt;&amp;nbsp; FirstSortedValue(TempDate,-TempDate) as Final_Date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FirstSortedValue(Value,-TempDate) as [Final Value] &lt;/P&gt;
&lt;P&gt;Resident Temp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Drop Table Temp;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 20:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893347#M311036</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-06T20:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893348#M311037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works like a charm so far. Will let you know if it works with my xlsx file where i have multiple companies and TempDate. In the mean time, im trying to understand how this script works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() = 1, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,-1)),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TempDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,-1)),15)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Final_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank You very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 21:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893348#M311037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-06T21:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893349#M311038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried with mulitple Companies. It didnt works, only works with one company such as below.&amp;nbsp; I should mention on my inital post where it will have multiple companies.&amp;nbsp; Please let me know if you can help with below items.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Works only with one company:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 298px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="56"&gt;Company&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="63"&gt;TempDate&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="36"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="66"&gt;Final_Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="77"&gt;[Final Value]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6/30/2011&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;7/1/2011&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9/30/2011&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2011&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;12/31/2011&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;11/15/2011&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;3/31/2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;400&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2012&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6/30/2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5/15/2012&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9/30/2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2012&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;12/31/2012&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;700&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;11/15/2012&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;3/31/2013&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;800&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2013&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;6/30/2013&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;900&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;5/15/2013&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;ABC Corp&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9/30/2013&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1000&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8/15/2013&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;250&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9/30/2013&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Need Help with bleow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item #1 - is it possilble to include the company name on the very last row? such as in this example. without a name for this last row, i cant use listbox to filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="56"&gt;Company&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="63"&gt;TempDate&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="36"&gt;Value&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="66"&gt;Final_Date&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="77"&gt;[Final Value]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;ABC Corp&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;9/30/2013&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Item#2 -&amp;nbsp; is it possible to show all first date for all companies as 7/1/2011 for TempDate 6/30/2011?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached QVW and expected Final Output in xls format. Many Thanks if you can help.&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 02:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893349#M311038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-07T02:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893350#M311039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Want like this?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pivot.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92040_pivot.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;find the attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 03:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893350#M311039</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-07-07T03:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893351#M311040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#(TempDate,'M/DD/YYYY')) as TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value]&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company, TempDate, Value, Final Value&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2011, 100, -100&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2011, 200, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 12/31/2011, 300, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 3/31/2012, 400, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2012, 500, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2012, 600, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2013, 1000, 250&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2011, 100, -100&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2011, 200, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 12/31/2011, 300, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 3/31/2012, 400, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2012, 500, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2012, 600, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2013, 5000, 250&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value],&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(RowNo() = 1 or Company &amp;lt;&amp;gt; Previous(Company), MonthStart(TempDate,1), &lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Order By Company, TempDate;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(TempDate,-TempDate) as Final_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(Value,-TempDate) as [Final Value] &lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Group By Company;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 05:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893351#M311040</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-07T05:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893352#M311041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to tweet this IF statement a bit and couldn't figure it out. Hope you can help again. I want to replace it with "min(TempDate)" for&amp;nbsp; "RowNo() = 1" but it error out. What i want is:&lt;/P&gt;&lt;P&gt;If TempDate = the min date (6/30/xxxx) then Final Date will be next month first day (7/1/xxxx)&lt;/P&gt;&lt;P&gt;Else Final Date will be 15th day of previous month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(RowNo() = 1 or Company &amp;lt;&amp;gt; Previous(Company), MonthStart(TempDate,1),&lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 401px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="67"&gt;Company&lt;/TD&gt;&lt;TD class="xl66" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="63"&gt;TempDate&lt;/TD&gt;&lt;TD class="xl66" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="66"&gt;Final_Date&lt;/TD&gt;&lt;TD class="xl66" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="77"&gt;[Final Value]&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;&lt;STRONG style=": ; color: #339966;"&gt;Final_Date (Good)&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Tom&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;12/31/2012&lt;/TD&gt;&lt;TD align="right" class="xl78" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1/1/2013&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-150&lt;/TD&gt;&lt;TD align="right" class="xl79" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;11/15/2012&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Tom&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;3/31/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;2/15/2013&lt;/TD&gt;&lt;TD align="right" class="xl71" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;450&lt;/TD&gt;&lt;TD align="right" class="xl76" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;2/15/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;Tom&lt;/TD&gt;&lt;TD class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;3/31/2013&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;8,800&lt;/TD&gt;&lt;TD align="right" class="xl77" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;3/31/2013&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;Attached Excel file for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 20:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893352#M311041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-07T20:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893353#M311042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Close to what i'm looking for. I'm still leaning towards Manish solution. I think once i figure out the lf Statement that i posted then i should be good. Thanks for your help Settu!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 20:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893353#M311042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-07T20:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893354#M311043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#(TempDate,'M/DD/YYYY')) as TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value]&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company, TempDate, Value, Final Value&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2011, 100, -100&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2011, 200, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 12/31/2011, 300, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 3/31/2012, 400, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2012, 500, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2012, 600, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2013, 1000, 250&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2011, 100, -100&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2011, 200, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 12/31/2011, 300, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 3/31/2012, 400, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2012, 500, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2012, 600, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2013, 5000, 250&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value],&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(TempDate = MonthEnd(TempDate), MonthStart(TempDate,1), &lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value],&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(RowNo() = 1 or Company &amp;lt;&amp;gt; Previous(Company), MonthStart(TempDate,1), &lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Order By Company, TempDate;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(TempDate,-TempDate) as Final_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(Value,-TempDate) as [Final Value] &lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Group By Company;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 20:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893354#M311043</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-07T20:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893355#M311044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Thanks for the reply.&lt;/P&gt;&lt;P&gt;Hope i didnt confuse you. The above IF statement doesnt works. 6/30/2011 is the "min" TempDate where company ABC and XYZ has for the month start date.&amp;nbsp; Final_Date for this two company should be 7/1/2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i expect for the If Statement is:&lt;/P&gt;&lt;P&gt;"If TempDate = the min date (6/30/2011) then Final Date will be next month first day (7/1/2011)&lt;/P&gt;&lt;P&gt;Else Final Date will be 15th day of previous month. (5/15/2011)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two other companies which are correct:&lt;/P&gt;&lt;P&gt;Sam - Tempdate=12/31/2012; Final_Date=11/15/2012&lt;/P&gt;&lt;P&gt;Tom - Tempdate=9/30/2012; Final_Date=8/15/2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help out again! Many Thanks!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 21:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893355#M311044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-07T21:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893356#M311045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(Date#(TempDate,'M/DD/YYYY')) as TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Value,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value]&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company, TempDate, Value, Final Value&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2011, 100, -100&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2011, 200, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 12/31/2011, 300, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 3/31/2012, 400, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2012, 500, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2012, 600, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; ABC, 9/30/2013, 1000, 250&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2011, 100, -100&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2011, 200, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 12/31/2011, 300, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 3/31/2012, 400, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2012, 500, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2012, 600, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; XYZ, 9/30/2013, 5000, 250&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom, 9/30/2012, 600, -200&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom, 12/31/2012, 700, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom, 3/31/2013, 800, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom, 6/30/2013, 900, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom, 9/30/2013, 8000, 350&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sam, 12/31/2012, 700, -155&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sam, 3/31/2013, 9000, 125&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value],&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Date(TempDate,'DDMM') = Date#('3006'), MonthStart(TempDate,1), &lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Final Value],&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(RowNo() = 1 or Company &amp;lt;&amp;gt; Previous(Company), MonthStart(TempDate,1), &lt;/P&gt;&lt;P&gt;&amp;nbsp; MakeDate(Year(AddMonths(TempDate,-1)),Month(AddMonths(TempDate,-1)),15)) as Final_Date&lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Order By Company, TempDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Company,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(TempDate,-TempDate) as Final_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(Value,-TempDate) as [Final Value] &lt;/P&gt;&lt;P&gt;Resident Temp&lt;/P&gt;&lt;P&gt;Group By Company;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 07:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893356#M311045</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-08T07:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893357#M311046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.Works great with my example as quarter date '6/30/2011'&amp;nbsp; are my oldest date where i want the Final Date to be '7/1/2011', which is correct. What if i have 2 companies with '3/31/2011' as the oldest date then the above "Date(TempDate,'DDMM') = Date#('3006')" will not works.&amp;nbsp; I was thinking maybe a variable/String that's define's "TempDate" as MinDate in the load script?&lt;/P&gt;&lt;P&gt;What i need is, 'only' the oldest quarter TempDate will be next month first date, else it will be prior month 15th day.&amp;nbsp; It's not by company, its by TempDate.&lt;/P&gt;&lt;P&gt;Let me know if you can help. Many Thanks&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 15:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893357#M311046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-08T15:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893358#M311047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly speaking, I am just following your question and trying to get answer. If you tell me the exact logic behind your question, will help you better way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 17:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893358#M311047</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-08T17:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893359#M311048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help. I'm all set. I found what i needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893359#M311048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-08T18:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Records</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893360#M311049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.... Kindly close the thread by selecting appropriate answer.. Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Records/m-p/893360#M311049</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-08T18:16:08Z</dc:date>
    </item>
  </channel>
</rss>

