<?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 Load distinct according to two values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-distinct-according-to-two-values/m-p/1631943#M733676</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;this might not be too difficult but I cannot find out how to do this.&lt;BR /&gt;&lt;BR /&gt;In a load-statement I want to just load the first record where the values "OrderNo" AND "Pos" are distinct.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;OrderNo, Pos, pc, val&lt;BR /&gt;123,3,5,10&lt;BR /&gt;123,3,6,15&lt;/P&gt;&lt;P&gt;should only load the first record.&lt;BR /&gt;&lt;BR /&gt;Thank you in advace for any hint.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:57:06 GMT</pubDate>
    <dc:creator>cosmicyes</dc:creator>
    <dc:date>2024-11-16T19:57:06Z</dc:date>
    <item>
      <title>Load distinct according to two values</title>
      <link>https://community.qlik.com/t5/QlikView/Load-distinct-according-to-two-values/m-p/1631943#M733676</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;this might not be too difficult but I cannot find out how to do this.&lt;BR /&gt;&lt;BR /&gt;In a load-statement I want to just load the first record where the values "OrderNo" AND "Pos" are distinct.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;OrderNo, Pos, pc, val&lt;BR /&gt;123,3,5,10&lt;BR /&gt;123,3,6,15&lt;/P&gt;&lt;P&gt;should only load the first record.&lt;BR /&gt;&lt;BR /&gt;Thank you in advace for any hint.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-distinct-according-to-two-values/m-p/1631943#M733676</guid>
      <dc:creator>cosmicyes</dc:creator>
      <dc:date>2024-11-16T19:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Load distinct according to two values</title>
      <link>https://community.qlik.com/t5/QlikView/Load-distinct-according-to-two-values/m-p/1631953#M733678</link>
      <description>&lt;P&gt;try like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Temp:
Load * Inline [
OrderNo, Pos, pc, val
123,3,5,10
123,3,6,15
234,4,5,20
234,6,4,23
345,2,3,44
];

NoConcatenate

table1:
LOAD * Resident Temp
Where OrderNo&amp;lt;&amp;gt;Previous(OrderNo) and Pos&amp;lt;&amp;gt;Previous(Pos)
Order By OrderNo, Pos, pc, val;
DROP Table Temp;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Oct 2019 09:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-distinct-according-to-two-values/m-p/1631953#M733678</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2019-10-07T09:30:44Z</dc:date>
    </item>
  </channel>
</rss>

