<?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: Peek Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417623#M816994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want employee code of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;A, B, C, D, E, M is as employee code of&amp;nbsp; Z. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and in above Val2 column is representing the same but if i changed the order then PEEK function will take the order accordingly.i don't want that to happen it should be constant if i changed the order.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2017 04:58:25 GMT</pubDate>
    <dc:creator>himabinduch</dc:creator>
    <dc:date>2017-09-01T04:58:25Z</dc:date>
    <item>
      <title>Peek Function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417621#M816992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data as below &lt;/P&gt;&lt;P&gt;Employee:&lt;/P&gt;&lt;P&gt;load * Inline [&lt;/P&gt;&lt;P&gt;Employee, Address, EmployeeCode &lt;/P&gt;&lt;P&gt;z,xxe,7&lt;/P&gt;&lt;P&gt;A , XXX, 1&lt;/P&gt;&lt;P&gt;B , YYY, 2&lt;/P&gt;&lt;P&gt;C ,ZZZ, 3&lt;/P&gt;&lt;P&gt;D, QBC, 100&lt;/P&gt;&lt;P&gt;E, LAD, 200&lt;/P&gt;&lt;P&gt;M,WWW,5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Employee,&lt;/P&gt;&lt;P&gt;Address,&lt;/P&gt;&lt;P&gt;EmployeeCode,&lt;/P&gt;&lt;P&gt;IF(MATCH(Employee, 'A','B','C','D','E','M'),PEEK(EmployeeCode,0),EmployeeCode) as Val2&lt;/P&gt;&lt;P&gt;Resident Employee;&lt;/P&gt;&lt;P&gt;drop table &lt;SPAN style="font-size: 13.3333px;"&gt;Employee;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if i add any record in the first line of inline it should not reflect to the&amp;nbsp; column Val2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;for example if i add one record says y in the first line of inline still it should shows employee code as 7 in val2&amp;nbsp; field how can i write expression for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;please help me on this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;himabindu ch&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417621#M816992</guid>
      <dc:creator>himabinduch</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Peek Function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417622#M816993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about the expected output for A, B, C, D, E, M employee? Why are they getting Val2 from the row above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417622#M816993</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T12:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Peek Function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417623#M816994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want employee code of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;A, B, C, D, E, M is as employee code of&amp;nbsp; Z. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and in above Val2 column is representing the same but if i changed the order then PEEK function will take the order accordingly.i don't want that to happen it should be constant if i changed the order.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 04:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417623#M816994</guid>
      <dc:creator>himabinduch</dc:creator>
      <dc:date>2017-09-01T04:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Peek Function</title>
      <link>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417624#M816995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;MATCH&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Employee&lt;/SPAN&gt;, 'A','B','C','D','E','M'),&lt;SPAN style="color: #0000ff;"&gt;Lookup&lt;/SPAN&gt;('EmployeeCode','Employee','z','Employee'),&lt;SPAN style="color: #800000;"&gt;EmployeeCode&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Val2 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 05:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Peek-Function/m-p/1417624#M816995</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-09-01T05:37:18Z</dc:date>
    </item>
  </channel>
</rss>

