<?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: Help with Peek() and comparing 2 values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98638#M15782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kushal, will do so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 06:54:51 GMT</pubDate>
    <dc:creator>phillipmacd</dc:creator>
    <dc:date>2018-08-07T06:54:51Z</dc:date>
    <item>
      <title>Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98619#M15763</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;Hope someone could direct me in the right direction on solving my problem.&lt;/P&gt;&lt;P&gt;I need to flag records in a table on matching criteria. I think the best way is going to have to use the peek() function.&lt;/P&gt;&lt;P&gt;I have a few dimension containing transaction data. I need to check for matching doc numbers and where they are found check the customer linked to the document.&lt;/P&gt;&lt;P&gt;example of data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;DATE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;DOC_NO&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;CUSTOMER&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;#FLAG&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2018-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD rowspan="2" style="padding: 2px; text-align: center;"&gt;OK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2018-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;123&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2018-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;124&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD rowspan="2" style="text-align: center;"&gt;FAIL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2018-01-01&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;124&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the document numbers match and the customer is a match for that document number it should be flagged as "OK", but where&lt;/P&gt;&lt;P&gt;the document numbers match and the customer differs it needs to be flagged as "FAIL"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can find the matching DOC_NO, but i have no idea how to check the CUSTOMER when it is found, any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 08:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98619#M15763</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-02T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98620#M15764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know how are you matching the DOC_NO?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 14:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98620#M15764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T14:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98621#M15765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dummy:&lt;/P&gt;&lt;P&gt;LOAD *, RowNo() AS RowNum, DOC_NO&amp;amp;CUSTOMER AS MergeField INLINE [&lt;/P&gt;&lt;P&gt;DATE, DOC_NO, CUSTOMER&lt;/P&gt;&lt;P&gt;2018-01-01, 123, A&lt;/P&gt;&lt;P&gt;2018-01-01, 123, A&lt;/P&gt;&lt;P&gt;2018-01-01, 124, B&lt;/P&gt;&lt;P&gt;2018-01-01, 124, C&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN(Dummy)&lt;/P&gt;&lt;P&gt;LOAD RowNum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(MergeField = Peek('MergeField',0,'Dummy'), 'OK','FAIL') AS Flag&lt;/P&gt;&lt;P&gt;Resident Dummy;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 15:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98621#M15765</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-02T15:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98622#M15766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i just use ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(DOC_NO = Peek(DOC_NO),......&lt;/P&gt;&lt;P&gt;the main problem I have at this stage is that the match on CUSTOMER must only happen when the DOC_NO match is found.Then i tried something but i didn't get the result I needed ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(DOC_NO = Peek(DOC_NO),If(CUSTOMER = Peek(CUSTOMER),'OK','FAIL'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 06:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98622#M15766</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-03T06:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98623#M15767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="replyToName"&gt;Vishwarath, thank you for the reply.This seem to work but it only flagged the 1st DOC_NO and CUSTOMER and flagged the rest as FAIL. Not sure is stepping trough all the RowNum values&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 06:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98623#M15767</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-03T06:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98624#M15768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philipp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15332815059042623 jive_text_macro" jivemacro_uid="_15332815059042623" modifiedtitle="true"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD Recno() as RowNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOC_NO &amp;amp; CUSTOMER as TempKey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOC_NO, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUSTOMER&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="309835" data-objecttype="1" href="https://community.qlik.com/thread/309835"&gt;https://community.qlik.com/thread/309835&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1); &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join&lt;/P&gt;
&lt;P&gt;Load TempKey,&lt;/P&gt;
&lt;P&gt;If(Count(TempKey)&amp;gt;1,'OK','FAIL') as &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;#FLAG&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Resident Data Group by TempKey; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Field TempKey;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 07:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98624#M15768</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-08-03T07:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98625#M15769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌it should can you share what you trying in your expr?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 09:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98625#M15769</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-03T09:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98626#M15770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;o, sorry . I just noticed that I had to explain more.&lt;/P&gt;&lt;P&gt;It worked on the data as is( in this post), when i changed the data so that all flags should return "OK", only the fist set&lt;/P&gt;&lt;P&gt;was flagged "OK" and the rest where "FAIL"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209814_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Dummy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, RowNo() AS RowNum, DOC_NO&amp;amp;CUSTOMER AS MergeField INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE, DOC_NO, CUSTOMER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018-01-01, 123, A&lt;/P&gt;&lt;P&gt;2018-01-01, 123, A&lt;/P&gt;&lt;P&gt;2018-01-01, 124, B&lt;/P&gt;&lt;P&gt;2018-01-01, 124, B&lt;/P&gt;&lt;P&gt;2018-01-01, 125, C&lt;/P&gt;&lt;P&gt;2018-01-01, 125, C&lt;/P&gt;&lt;P&gt;2018-01-01, 126, D&lt;/P&gt;&lt;P&gt;2018-01-01, 126, D&lt;/P&gt;&lt;P&gt;2018-01-01, 127, A&lt;/P&gt;&lt;P&gt;2018-01-01, 127, A&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN(Dummy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD RowNum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(MergeField = Peek('MergeField',0,'Dummy'), 'OK','FAIL') AS Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident Dummy;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98626#M15770</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-03T10:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98627#M15771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try and expand a bit more on the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the data is transactions for a customer between accounts of the same customer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So every DOC_NO must have 2 (or more depending on debits and credits) records, one for debit and one for credit. and the sum on the amount for the DOC_NO should always be 0(zero)[debit and credit balance]&lt;/P&gt;&lt;P&gt;the test i am looking to do is to make sure that a DOC_NO has a debit and credit for one CUSTOMER.&lt;/P&gt;&lt;P&gt;if that is not the case the debit or credit of that DOC_NO is to incorrect CUSTOMER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help to understand what i am looking to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 10:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98627#M15771</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-03T10:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98628#M15772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post some sample data so that we can have a good understanding of it,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 13:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98628#M15772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98629#M15773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal, attached is an example of my data, i know its only a few records ( current data is about 6 million records)&lt;/P&gt;&lt;P&gt;so its difficult to check by hand.&lt;/P&gt;&lt;P&gt;the sample data shows how the transactions work, for each DOC_NO there are 2 or more records for both debit and credit transactions( depending on the amount of debits or credits). These should always sum to 0(zero) on the CUSTOMER 's account. I need to test weather the transactions for debit and credit are only on 1(one) CUSTOMER per DOC_NO.&lt;/P&gt;&lt;P&gt;So I need to match DOC_NO in records and when a match is found I need to test the CUSTOMER and verify that it is the same CUSTOMER for both the debit and credit for the DOC_NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help explain the data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 13:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98629#M15773</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-03T13:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98630#M15774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Philip &lt;/P&gt;&lt;P&gt;DId you try what Tamil suggested? If not try that it will solve your issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98630#M15774</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-03T14:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98631#M15775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Temp1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209877_Temp1.jpg" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98631#M15775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T19:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98632#M15776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi V, I am busy testing the result, just need to check if all is ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98632#M15776</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-06T05:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98633#M15777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal, that is exactly what i am looking to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 05:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98633#M15777</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-06T05:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98634#M15778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(DOC_NO = Peek(DOC_NO) and CUSTOMER = Peek(CUSTOMER),'OK','FAIL') as Flag;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking the flag on both doc_no and customer details. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 11:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98634#M15778</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-06T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98635#M15779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala&lt;/P&gt;&lt;P&gt;NO success. flags the one side of the DOC_NO (debit or credit) as 'OK' and the other (credit or debit) as 'FAIL'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 11:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98635#M15779</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-06T11:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98636#M15780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, at this stage i am stuck, i am going to rather check when the amount (both debit and credit) of the DOC_NO does not sum to zero(0).&lt;/P&gt;&lt;P&gt;This should give&amp;nbsp; a better view on the different CUSTOMERS linked to a DOC_NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for the input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 12:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98636#M15780</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-06T12:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98637#M15781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD DOC_NO, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUSTOMER, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOC_NO &amp;amp; CUSTOMER as UJt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DOC_NO &amp;amp; CUSTOMER as UJ&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;left join(Temp)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD UJt as UJ,&lt;/P&gt;&lt;P&gt;if(SUM(AMOUNT)&amp;lt;&amp;gt;0,'Fail','Ok') as Flag&lt;/P&gt;&lt;P&gt;Resident Temp group by UJt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 21:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98637#M15781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-06T21:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Peek() and comparing 2 values</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98638#M15782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kushal, will do so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 06:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Peek-and-comparing-2-values/m-p/98638#M15782</guid>
      <dc:creator>phillipmacd</dc:creator>
      <dc:date>2018-08-07T06:54:51Z</dc:date>
    </item>
  </channel>
</rss>

