<?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 Script editor in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006449#M83287</link>
    <description>&lt;P&gt;Hello Qlik community,&lt;BR /&gt;&lt;BR /&gt;I have been struggling with a certain script, I want my table to only show rows where column "Positiekey" is DISTINCT and Timestamp is MAX.&lt;/P&gt;
&lt;P&gt;This is my current scripteditor:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;CancelledOrders:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"Timestamp",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PositieKey,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;FirstSortedValue(PositieKey,Timestamp) as LatestOrder&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Resident cancelledordersv1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Group By PositieKey&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Order by PositieKey;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;drop table cancelledordersv1;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Enhpad_1-1668776708667.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94087i4A55477C415A63D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Enhpad_1-1668776708667.png" alt="Enhpad_1-1668776708667.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 13:44:45 GMT</pubDate>
    <dc:creator>Enhpad</dc:creator>
    <dc:date>2022-11-18T13:44:45Z</dc:date>
    <item>
      <title>Script editor</title>
      <link>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006449#M83287</link>
      <description>&lt;P&gt;Hello Qlik community,&lt;BR /&gt;&lt;BR /&gt;I have been struggling with a certain script, I want my table to only show rows where column "Positiekey" is DISTINCT and Timestamp is MAX.&lt;/P&gt;
&lt;P&gt;This is my current scripteditor:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;CancelledOrders:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"Timestamp",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PositieKey,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;FirstSortedValue(PositieKey,Timestamp) as LatestOrder&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Resident cancelledordersv1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Group By PositieKey&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Order by PositieKey;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;drop table cancelledordersv1;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Enhpad_1-1668776708667.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94087i4A55477C415A63D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Enhpad_1-1668776708667.png" alt="Enhpad_1-1668776708667.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 13:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006449#M83287</guid>
      <dc:creator>Enhpad</dc:creator>
      <dc:date>2022-11-18T13:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Script editor</title>
      <link>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006459#M83289</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;CancelledOrders:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;max("Timestamp")&amp;nbsp; as&amp;nbsp; Timestamp,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;PositieKey,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;//FirstSortedValue(PositieKey,Timestamp) as LatestOrder&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Resident cancelledordersv1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Group By PositieKey&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Order by PositieKey;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006459#M83289</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-11-18T14:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Script editor</title>
      <link>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006473#M83290</link>
      <description>&lt;P&gt;As below.&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;CancelledOrders:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Timestamp(max("Timestamp")) as "Timestamp",&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;PositieKey,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;FirstSortedValue(PositieKey,&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-Timestamp&lt;/STRONG&gt;&lt;/FONT&gt;) as LatestOrder&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Resident cancelledordersv1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Group By PositieKey&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Order by PositieKey;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;drop table cancelledordersv1;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 14:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006473#M83290</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-11-18T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Script editor</title>
      <link>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006719#M83303</link>
      <description>&lt;P&gt;Thank you! This did it for me in a test script, but apparently it was not working for me in my dashboard. So I still have to figure that one out.. &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 21:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Script-editor/m-p/2006719#M83303</guid>
      <dc:creator>Enhpad</dc:creator>
      <dc:date>2022-11-19T21:09:59Z</dc:date>
    </item>
  </channel>
</rss>

