<?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: How to write Peek with if else condition for the expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384148#M798253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because i am not able to attached raw data file in same thread ? can you suggest any solution for my quey ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 05:56:22 GMT</pubDate>
    <dc:creator>dhavalvyas</dc:creator>
    <dc:date>2017-12-13T05:56:22Z</dc:date>
    <item>
      <title>How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384139#M798244</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 raw data contain site_id,site live date and site close date respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If same site_id will found for next site live date then it should add to count,i.e. now count is 2. but if same site_id found in site close date then it should subtract from count,i.e. its count is now 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one suggest how to write If Else condition with peek for the same ?&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/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384139#M798244</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384140#M798245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you try like below, Tks&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(site_id = Peek(site_id) and [next site live date] = Peek([next site live date],1,0)) as Flag_Peek&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 02:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384140#M798245</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-12-12T02:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384141#M798246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what is for site close date&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 03:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384141#M798246</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2017-12-12T03:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384142#M798247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we have to add it to count if next site live date is found for same site id and also subtract if site close date found for same site id&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 03:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384142#M798247</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2017-12-12T03:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384143#M798248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;can you share your mock data and expected output in excel format. tks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 03:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384143#M798248</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-12-12T03:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384144#M798249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is site live date and site close date.Many ATM ID is closed in 2099 and before 2099.Also there is same site ID repeated.So i want total site ID open date wise on selection of month and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose from 100 ATM ID on 01/01/2017 10 ATM ID close so it remains with 90 and on 01/02/2017 5 new ATM ID open and 8 ATM ID close then output should be 90+5-8=87 ATM ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384144#M798249</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2017-12-13T05:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384145#M798250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In away your explanation is more interesting !!! Better, If you provide sample data to test rather simple discussion of the logic behind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, To answer your question could be there is number of queries may handle. Do you have Open and Close field with you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384145#M798250</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-13T05:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384146#M798251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I have shared it with Raw Data please check. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384146#M798251</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2017-12-13T05:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384147#M798252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure, Why opened new thread &lt;A href="https://community.qlik.com/message/1400154"&gt;Peek  previous count with If condition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, In my way let's talk real - My case study is 02-Jan-2017. from that, What it has to be result set?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186754_Capture.PNG" style="height: 84px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384147#M798252</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-13T05:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384148#M798253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because i am not able to attached raw data file in same thread ? can you suggest any solution for my quey ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384148#M798253</guid>
      <dc:creator>dhavalvyas</dc:creator>
      <dc:date>2017-12-13T05:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Peek with if else condition for the expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384149#M798254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, Will do our best. May be explain from that image as case study .. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-Peek-with-if-else-condition-for-the-expression/m-p/1384149#M798254</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-12-13T05:57:23Z</dc:date>
    </item>
  </channel>
</rss>

