<?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 Difficult Problem with Data row Comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200661#M715201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Description: I need help in a telephone scenario. Problem I would like to know with telephone Nr. has transfered the call to which IP-Adress.&lt;BR /&gt;&lt;BR /&gt;Fields: (table sortet by %GlobalID and Starttimestamp asc.)&lt;BR /&gt;%GlobalID ==&amp;gt; to get the combined calls&lt;BR /&gt;Nr ==&amp;gt; Autonumber Field&lt;BR /&gt;StartTimestamp ==&amp;gt; Timestamp for Call&lt;BR /&gt;IngressIP ==&amp;gt; IP of the Calling Party&lt;BR /&gt;EgressIP ==&amp;gt; IP of the Called Party&lt;BR /&gt;TransferNr ==&amp;gt; TelephoneNr of the Party who transfered a call&lt;BR /&gt;&lt;BR /&gt;In the line where there is an entry with a TransferNr, that says the call between these 2 IPs was transfered from this telephoneNr. ==&amp;gt; Problem ==&amp;gt; but I don't know to which person the&lt;BR /&gt;call was transfered ==&amp;gt; to the IngressIP or the EgressIP ==&amp;gt; they could change position ==&amp;gt; I can get these by comparing line with the TransferNr &amp;lt;&amp;gt; '' with the line above, and I must&lt;BR /&gt;compare it with the row ==&amp;gt; IngressIP (where TransferNr &amp;lt;&amp;gt; '') = IngressIP (above line) or IngressIP (where TransferNr &amp;lt;&amp;gt; '') = EgressIP (above line)&lt;BR /&gt;and the same with the EgressIP ==&amp;gt; also comparing it with the above IngressIP and EgressIP.&lt;BR /&gt;&lt;BR /&gt;Result for the New Field "Comparison" should be an entry for example: if the IngressIP is the same as above than '&lt;B&gt;I&lt;/B&gt;' or if the EgressIP is the same than '&lt;B&gt;E&lt;/B&gt;'.&lt;BR /&gt;&lt;BR /&gt;I hope somebody could give me a solution for my problem? The topic is complicated but maybe there exists a solution?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Herbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Apr 2010 15:13:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-01T15:13:12Z</dc:date>
    <item>
      <title>Difficult Problem with Data row Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200661#M715201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Description: I need help in a telephone scenario. Problem I would like to know with telephone Nr. has transfered the call to which IP-Adress.&lt;BR /&gt;&lt;BR /&gt;Fields: (table sortet by %GlobalID and Starttimestamp asc.)&lt;BR /&gt;%GlobalID ==&amp;gt; to get the combined calls&lt;BR /&gt;Nr ==&amp;gt; Autonumber Field&lt;BR /&gt;StartTimestamp ==&amp;gt; Timestamp for Call&lt;BR /&gt;IngressIP ==&amp;gt; IP of the Calling Party&lt;BR /&gt;EgressIP ==&amp;gt; IP of the Called Party&lt;BR /&gt;TransferNr ==&amp;gt; TelephoneNr of the Party who transfered a call&lt;BR /&gt;&lt;BR /&gt;In the line where there is an entry with a TransferNr, that says the call between these 2 IPs was transfered from this telephoneNr. ==&amp;gt; Problem ==&amp;gt; but I don't know to which person the&lt;BR /&gt;call was transfered ==&amp;gt; to the IngressIP or the EgressIP ==&amp;gt; they could change position ==&amp;gt; I can get these by comparing line with the TransferNr &amp;lt;&amp;gt; '' with the line above, and I must&lt;BR /&gt;compare it with the row ==&amp;gt; IngressIP (where TransferNr &amp;lt;&amp;gt; '') = IngressIP (above line) or IngressIP (where TransferNr &amp;lt;&amp;gt; '') = EgressIP (above line)&lt;BR /&gt;and the same with the EgressIP ==&amp;gt; also comparing it with the above IngressIP and EgressIP.&lt;BR /&gt;&lt;BR /&gt;Result for the New Field "Comparison" should be an entry for example: if the IngressIP is the same as above than '&lt;B&gt;I&lt;/B&gt;' or if the EgressIP is the same than '&lt;B&gt;E&lt;/B&gt;'.&lt;BR /&gt;&lt;BR /&gt;I hope somebody could give me a solution for my problem? The topic is complicated but maybe there exists a solution?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Herbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 15:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200661#M715201</guid>
      <dc:creator />
      <dc:date>2010-04-01T15:13:12Z</dc:date>
    </item>
    <item>
      <title>Difficult Problem with Data row Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200662#M715202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there&lt;/P&gt;&lt;P&gt;with out really looking deep in to the specifics situation you describe, it sounds like a solution can be find with the qlikview's&lt;/P&gt;&lt;H1&gt;Inter record functions&lt;/H1&gt;&lt;P&gt;one in particular comes to mine , the previous() function: (from the internal help)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4&gt;previous(expression )&lt;/H4&gt;&lt;P&gt;Returns the value of expression using data from the previous input record that was not discarded due to a where clause. In the first record of an input table the function will return NULL. The previous function may be nested in order to access records further back. Data are fetched directly from the input source, making it possible to refer also to fields which have not been loaded into QlikView, i.e. even if they have not been stored in its associative database.&lt;/P&gt;&lt;H2&gt;Examples:&lt;/H2&gt;&lt;P style="margin-left:40px;"&gt;Load *, Sales / previous(Sales) as Increase from ...;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;Load A, previous(previous( A )) as B from ...;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;or one of other functions from this family:&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;peek(), fieldvalue(), lookup() etc&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;hope that helped some&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;Mansyno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 17:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200662#M715202</guid>
      <dc:creator>wizardo</dc:creator>
      <dc:date>2010-04-01T17:19:48Z</dc:date>
    </item>
    <item>
      <title>Difficult Problem with Data row Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200663#M715203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the idea with the Inter-Record Functions. I will take a look at these functions if I can find a solution there, I will come back to report here.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Herbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Apr 2010 07:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difficult-Problem-with-Data-row-Comparison/m-p/200663#M715203</guid>
      <dc:creator />
      <dc:date>2010-04-02T07:07:27Z</dc:date>
    </item>
  </channel>
</rss>

