<?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 help in script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443710#M35021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hi all,&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;can anyone help to achieve the below result.&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;i have attached the sample data below.&amp;nbsp; need to apply the below 3 cases.&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;1. if type='cancel' take the 'id' and find the same 'id' from the previous record and delete both the records.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. if mid=id then update the old record amt &amp;amp; hd_amt from the new record (as per date).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. if if id&amp;gt;1 the only keep the latest record (as per date) drop all other rows for the same which contains the same id.&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;can refer 'expected result' in the same excel file for the output which i require.&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;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2017 13:26:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-12T13:26:23Z</dc:date>
    <item>
      <title>help in script</title>
      <link>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443710#M35021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hi all,&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;can anyone help to achieve the below result.&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;i have attached the sample data below.&amp;nbsp; need to apply the below 3 cases.&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;1. if type='cancel' take the 'id' and find the same 'id' from the previous record and delete both the records.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. if mid=id then update the old record amt &amp;amp; hd_amt from the new record (as per date).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;3. if if id&amp;gt;1 the only keep the latest record (as per date) drop all other rows for the same which contains the same id.&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;can refer 'expected result' in the same excel file for the output which i require.&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;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 13:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443710#M35021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-12T13:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: help in script</title>
      <link>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443711#M35022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No file attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 20:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443711#M35022</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2017-10-12T20:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: help in script</title>
      <link>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443712#M35023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry missed the attachment before. PFA thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 22:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/help-in-script/m-p/1443712#M35023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-12T22:51:46Z</dc:date>
    </item>
  </channel>
</rss>

