<?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: count customer who call more than 5 time  within 2 weeks in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1823859#M67602</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Add in the script a flag for every row:&lt;BR /&gt;if(Timestamp#(DtTm,'DD/MM/YYYY hh:mm')&amp;gt;=now()-14,1,0) as Is14Flag&lt;/P&gt;&lt;P&gt;2. Use set analysis with the new field:&lt;BR /&gt;=sum({&amp;lt;Is14Flag={1}&amp;gt;}CALLS)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Michael_K_0-1626952121531.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58992i3E4AFD2D64891B97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Michael_K_0-1626952121531.png" alt="Michael_K_0-1626952121531.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jul 2021 11:08:13 GMT</pubDate>
    <dc:creator>Michael_K</dc:creator>
    <dc:date>2021-07-22T11:08:13Z</dc:date>
    <item>
      <title>count customer who call more than 5 time  within 2 weeks</title>
      <link>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1823386#M67553</link>
      <description>&lt;P&gt;Hi Everyone,&lt;BR /&gt;&lt;BR /&gt;Hope you guys help me on below issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a master measure which show the customer call more than 5 time in 14 days .&lt;/P&gt;&lt;P&gt;Here is the sample data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DtTm, ContactId ,CALLS&lt;BR /&gt;7/6/2021 12:55:31 PM ,1, 1&lt;BR /&gt;7/8/2021 11:13:17 AM 2 1&lt;BR /&gt;7/11/2021 2:13:48 PM 3 1&lt;BR /&gt;7/9/2021 1:39:33 PM 1 1&lt;BR /&gt;7/7/2021 12:05:02 PM 1 1&lt;BR /&gt;7/23/2021 12:56:04 PM 3 1&lt;BR /&gt;7/9/2021 3:30:30 PM 5 1&lt;BR /&gt;5/10/2021 3:30:30 PM 1 1&lt;BR /&gt;4/11/2021 3:30:30 PM 2 1&lt;BR /&gt;3/12/2021 3:30:30 PM 5 1&lt;BR /&gt;5/13/2021 3:30:30 PM 4 1&lt;BR /&gt;6/14/2021 3:30:30 PM 3 1&lt;BR /&gt;5/15/2021 3:30:30 PM 2 1&lt;BR /&gt;2/16/2021 3:30:30 PM 1 1&lt;BR /&gt;6/17/2021 3:30:30 PM 1 1&lt;BR /&gt;3/18/2021 3:30:30 PM 3 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 17:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1823386#M67553</guid>
      <dc:creator>manojin123</dc:creator>
      <dc:date>2021-07-20T17:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: count customer who call more than 5 time  within 2 weeks</title>
      <link>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1823859#M67602</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. Add in the script a flag for every row:&lt;BR /&gt;if(Timestamp#(DtTm,'DD/MM/YYYY hh:mm')&amp;gt;=now()-14,1,0) as Is14Flag&lt;/P&gt;&lt;P&gt;2. Use set analysis with the new field:&lt;BR /&gt;=sum({&amp;lt;Is14Flag={1}&amp;gt;}CALLS)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Michael_K_0-1626952121531.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58992i3E4AFD2D64891B97/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Michael_K_0-1626952121531.png" alt="Michael_K_0-1626952121531.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 11:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1823859#M67602</guid>
      <dc:creator>Michael_K</dc:creator>
      <dc:date>2021-07-22T11:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: count customer who call more than 5 time  within 2 weeks</title>
      <link>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1824335#M67674</link>
      <description>&lt;P&gt;Thank you it worked&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 04:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/count-customer-who-call-more-than-5-time-within-2-weeks/m-p/1824335#M67674</guid>
      <dc:creator>manojin123</dc:creator>
      <dc:date>2021-07-25T04:37:55Z</dc:date>
    </item>
  </channel>
</rss>

