<?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: Repeat Customer Logic in Qlik View Scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1737132#M452700</link>
    <description>&lt;P&gt;I believe you are going to need to provide some further clarification of the use case and I would segregate your actual input data and your expected/desired output, so it is clear to folks what exactly you are trying to accomplish, believe that is likely why you have not received any responses, as it is a bit unclear to me exactly how you are trying to go about things given some of the commentary does not really seem to tie into the data you provided.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2020 15:00:01 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-08-19T15:00:01Z</dc:date>
    <item>
      <title>Repeat Customer Logic in Qlik View Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1733746#M452465</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Repeat Caller Logic within 48 hours . (Repeat caller duration is based on callstartdate and prevcallsegstartdate&amp;nbsp; as per the example provided)&lt;/P&gt;&lt;P&gt;Formula: Numerator - Unique Contact, Denominator - Unique + Repeat Contact&lt;/P&gt;&lt;TABLE width="922"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="125"&gt;CustomerPhone&lt;/TD&gt;&lt;TD width="64"&gt;CallID&lt;/TD&gt;&lt;TD width="200"&gt;Callstartdate&lt;/TD&gt;&lt;TD width="197"&gt;Callenddate&lt;/TD&gt;&lt;TD width="198"&gt;prevcallstartdate&lt;/TD&gt;&lt;TD width="138"&gt;repeatcalldurationSecs&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Call1&lt;/TD&gt;&lt;TD&gt;2020-06-08 11:13:05.000&lt;/TD&gt;&lt;TD&gt;2020-06-08 11:28:48.000&lt;/TD&gt;&lt;TD&gt;NULL&lt;/TD&gt;&lt;TD&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Call2&lt;/TD&gt;&lt;TD&gt;2020-06-08 11:39:35.000&lt;/TD&gt;&lt;TD&gt;2020-06-08 11:50:23.000&lt;/TD&gt;&lt;TD&gt;2020-06-08 11:13:05.000&lt;/TD&gt;&lt;TD&gt;1590&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Call3&lt;/TD&gt;&lt;TD&gt;2020-06-11 15:24:07.000&lt;/TD&gt;&lt;TD&gt;2020-06-11 15:33:56.000&lt;/TD&gt;&lt;TD&gt;2020-06-08 11:39:35.000&lt;/TD&gt;&lt;TD&gt;272672&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;126&lt;/TD&gt;&lt;TD&gt;Call12&lt;/TD&gt;&lt;TD&gt;2020-03-22 14:40:49.000&lt;/TD&gt;&lt;TD&gt;2020-03-22 15:09:42.000&lt;/TD&gt;&lt;TD&gt;NULL&lt;/TD&gt;&lt;TD&gt;NULL&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;From the above example -&amp;nbsp;&amp;nbsp;In the case of 123 phone number (1-2 row number) - its a repeat contact.&lt;BR /&gt;This customer contacted twice within 48 hours based on the first two rows&lt;/P&gt;&lt;P&gt;Now in the numerator - it should be 0&lt;BR /&gt;in the denominator - it should be 2&lt;/P&gt;&lt;P&gt;3rd row - again the same customer contacted after 48 hours, it should treat as a new customer&lt;BR /&gt;Now numerator - 1 and denominator - 1&lt;/P&gt;&lt;P&gt;In case of 126 customer phone number - its unique contact&lt;BR /&gt;Now numerator - 1&lt;BR /&gt;denominator - 1&lt;/P&gt;&lt;P&gt;Total KPI value - Numerator - 0+1+1&lt;BR /&gt;Denominator - 2+1+1&lt;/P&gt;&lt;P&gt;Can someone help me how I can achieve this in Qlik?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1733746#M452465</guid>
      <dc:creator>Nisha_Pra</dc:creator>
      <dc:date>2024-11-16T00:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Customer Logic in Qlik View Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1737132#M452700</link>
      <description>&lt;P&gt;I believe you are going to need to provide some further clarification of the use case and I would segregate your actual input data and your expected/desired output, so it is clear to folks what exactly you are trying to accomplish, believe that is likely why you have not received any responses, as it is a bit unclear to me exactly how you are trying to go about things given some of the commentary does not really seem to tie into the data you provided.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 15:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1737132#M452700</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-19T15:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Customer Logic in Qlik View Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1737153#M452702</link>
      <description>&lt;P&gt;See duplicate post:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Identifying-Repeat-and-Unique-Customers/m-p/1733790#M391871" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Identifying-Repeat-and-Unique-Customers/m-p/1733790#M391871&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 15:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Repeat-Customer-Logic-in-Qlik-View-Scripting/m-p/1737153#M452702</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-19T15:50:58Z</dc:date>
    </item>
  </channel>
</rss>

