<?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: term sum or count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594052#M681906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I supposed your source data was in base.xls&lt;/P&gt;&lt;P&gt;I put base.xls in the same folder as 111147.qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2014 10:46:39 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-03-20T10:46:39Z</dc:date>
    <item>
      <title>term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594049#M681903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV style="display: inline-block;"&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="almost_half_cell"&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to all&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr" style="zoom: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="almost_half_cell"&gt;&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;am a beginner&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in QlikView&lt;/SPAN&gt;, I try to &lt;SPAN class="hps"&gt;make a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;qw&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;report&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is based on&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a path&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of personal&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;drive (&lt;/SPAN&gt;&lt;SPAN&gt;time of entry&lt;/SPAN&gt;&lt;SPAN&gt;, time&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;out,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;areas, etc.&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I am looking for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a formula&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(expression)&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will allow me to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;count the number&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of times an individual&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is late&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from 7am&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;45&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;retrieve all&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;day&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;from&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;late&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this expression&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CalendarWeekDay&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; =&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;'Monday' &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;or&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CalendarWeekDay&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ='&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Tuesday ' &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;or&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CalendarWeekDay&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ='&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Wednesday ' &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;or&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CalendarWeekDay&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ='&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Thursday ' &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;or&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CalendarWeekDay&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ='&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Friday')) &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;min&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;hours&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),1)&amp;gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;maketime&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(7,45),&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;min&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;hours&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),1))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="805"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="79"&gt;name&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="134"&gt;Service&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="187"&gt;Date&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="95"&gt;Semaine&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="98"&gt;month&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;" width="128"&gt;day&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="84"&gt;Hours Arrival&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 5&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;04/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Tuesday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:56:08&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 7&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;04/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Tuesday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:52:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;03/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Monday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:37:58&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;04/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Tuesday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:15:14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;05/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Wednesday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:38:14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;06/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Thursday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:20:36&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;03/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Monday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:45:54&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 4&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;07/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Friday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:50:46&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 6&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;05/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Wednesday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;13:23:36&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 6&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;07/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Friday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;15:38:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;03/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Monday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:49:18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;04/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Tuesday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:49:12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;05/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Wednesday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:03:18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;06/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Thursday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:08:40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;07/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Friday&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;07:58:28&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;agent 3&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INFORMATIQUE&lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;04/02/2014&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;February&lt;/TD&gt;&lt;TD class="xl72" style="border-top: none; border-left: none;"&gt;Tuesday &lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;08:00:26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="17"&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;TD class="xl70"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Now&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my problem&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is how&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can we have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sum of all&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;minimum&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an agent&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;counting&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;get a result&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;like that.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;agent 1 = 4&lt;/P&gt;&lt;P&gt;agent 2 = 5&lt;/P&gt;&lt;P&gt;agent 3 = 1&lt;/P&gt;&lt;P&gt;agent 4 = 2&lt;/P&gt;&lt;P&gt;agent 5 = 1&lt;/P&gt;&lt;P&gt;agent 6 = 2&lt;/P&gt;&lt;P&gt;agent 7 = 1&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 10:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594049#M681903</guid>
      <dc:creator />
      <dc:date>2014-03-19T10:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594050#M681904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;RESULT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-03-19 21_38_51-QlikView x64 - [C__Users_mgrossi_Downloads_111209.qvw_].png" class="jive-image" src="/legacyfs/online/55404_2014-03-19 21_38_51-QlikView x64 - [C__Users_mgrossi_Downloads_111209.qvw_].png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SCRIPT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;LOAD NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MONTH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOURS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZONE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVICE&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;base.xls&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$)&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;NoConcatenate load&lt;/P&gt;&lt;P&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;if(match(num(WeekDay(DATE)),0,1,2,3,4) and HOURS&amp;gt;=maketime(7,45),1,0) as FLAGLATE,&lt;/P&gt;&lt;P&gt;if(NAME&amp;lt;&amp;gt;peek(NAME) or DATE&amp;lt;&amp;gt;Peek(DATE),1,0) as FLAGMINHOURS &lt;/P&gt;&lt;P&gt;Resident Source&lt;/P&gt;&lt;P&gt;order by NAME, DATE, HOURS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Source;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 22:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594050#M681904</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-19T22:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594051#M681905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Hello&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;thank you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for the answer&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;but the problem&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is that I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;have the same&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;result you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it shows&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me an error&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;loading&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;table&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;found&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 10:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594051#M681905</guid>
      <dc:creator />
      <dc:date>2014-03-20T10:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594052#M681906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I supposed your source data was in base.xls&lt;/P&gt;&lt;P&gt;I put base.xls in the same folder as 111147.qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 10:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594052#M681906</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-20T10:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594053#M681907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;data is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;xls&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in a database&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;here is the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;script&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;script:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO MIS (XUserId is aPDDeQRMNLacWYB, XPassword is TZAfHYFMTbcOXXJOEDKB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idusager,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor("Date de Passage")) as date,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac("Date de Passage")) as heure,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nom,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prenom,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Evenement,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idpropriete,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libelle;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM Alizes.dbo."View_SATF_Historique Passage"&amp;nbsp; WHERE (idpropriete='3')&amp;nbsp; AND ( ( nom NOT LIKE ('%VISITEUR%') AND (nom NOT LIKE ('%BADGE%')) AND (nom NOT LIKE ( '%SURETE%'))&amp;nbsp; AND (nom NOT LIKE ( '%PRESTATAIRE%'))&amp;nbsp; )&amp;nbsp; )&amp;nbsp; ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/**************calendar**************************/&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=' ';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='# ##0,00 €;-# ##0,00 €';&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET MonthNames='janv.;févr.;mars;avr.;mai;juin;juil.;août;sept.;oct.;nov.;déc.';&lt;/P&gt;&lt;P&gt;SET DayNames='lun.;mar.;mer.;jeu.;ven.;sam.;dim.';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(MakeDate(2013,1,1));&lt;/P&gt;&lt;P&gt;LET vDateMax = Floor(YearEnd(AddMonths(Today(), 12)));&lt;/P&gt;&lt;P&gt;LET vDateToday = Num(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(vDateMin) + RowNo() - 1 AS DateNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date($(vDateMin) + RowNo() - 1) AS TempDate&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1&lt;/P&gt;&lt;P&gt;WHILE $(vDateMin)+IterNo()-1&amp;lt;= $(vDateMax);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempDate AS date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(TempDate) AS CalendarDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(TempDate) AS CalendarWeekDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week(TempDate) AS CalendarWeek,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(TempDate) AS Mois,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(TempDate) AS Année,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month(TempDate)/3) AS CalendarQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) AS CalendarWeekAndYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) AS CalendarMonthAndYear&lt;/P&gt;&lt;P&gt;RESIDENT TempCalendar ORDER BY TempDate ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDateMin = Num(MakeDate(2013,1,1));&lt;/P&gt;&lt;P&gt;LET vDateMax = Floor(YearEnd(AddMonths(Today(), 12)));&lt;/P&gt;&lt;P&gt;LET vDateToday = Num(Today());&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 11:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594053#M681907</guid>
      <dc:creator />
      <dc:date>2014-03-20T11:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594054#M681908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed first part of your script, before the calendar&lt;/P&gt;&lt;P&gt;using my logic and your tables/fields&lt;/P&gt;&lt;P&gt;I think you want to know if the first heure by idusager and date is before or after 7:45&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ODBC CONNECT TO MIS (XUserId is aPDDeQRMNLacWYB, XPassword is TZAfHYFMTbcOXXJOEDKB);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Source:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idusager,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor("Date de Passage")) as date,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac("Date de Passage")) as heure,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nom,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prenom,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Evenement,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idpropriete,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libelle;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM Alizes.dbo."View_SATF_Historique Passage"&amp;nbsp; WHERE (idpropriete='3')&amp;nbsp; AND ( ( nom NOT LIKE ('%VISITEUR%') AND (nom NOT LIKE ('%BADGE%')) AND (nom NOT LIKE ( '%SURETE%'))&amp;nbsp; AND (nom NOT LIKE ( '%PRESTATAIRE%'))&amp;nbsp; )&amp;nbsp; )&amp;nbsp; ;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Table:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;NoConcatenate load&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; *,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;if(match(num(WeekDay(date)),0,1,2,3,4) and heure&amp;gt;=maketime(7,45),1,0) as FLAGLATE,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;if(idusager&amp;lt;&amp;gt;peek(idusager) or date&amp;lt;&amp;gt;Peek(date),1,0) as FLAGMINHOURS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; // flag first by idusager date&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Resident Source&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;order by idusager, date, heure;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;DROP Table Source;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 12:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594054#M681908</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-20T12:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594055#M681909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I do not understand&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I still have the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;same&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55461_error.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594055#M681909</guid>
      <dc:creator />
      <dc:date>2014-03-20T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594056#M681910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to stop execution after first load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT TO MIS (XUserId is aPDDeQRMNLacWYB, XPassword is TZAfHYFMTbcOXXJOEDKB);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Source:&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idusager,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Floor("Date de Passage")) as date,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Frac("Date de Passage")) as heure,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nom,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prenom,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Evenement,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; idpropriete,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; matricule,&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; libelle;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Alizes.dbo."View_SATF_Historique Passage"&amp;nbsp; WHERE (idpropriete='3')&amp;nbsp; AND ( ( nom NOT LIKE ('%VISITEUR%') AND (nom NOT LIKE ('%BADGE%')) AND (nom NOT LIKE ( '%SURETE%'))&amp;nbsp; AND (nom NOT LIKE ( '%PRESTATAIRE%'))&amp;nbsp; )&amp;nbsp; )&amp;nbsp; ;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;exit script;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;is there&amp;nbsp; a table called Source in Table Viewer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594056#M681910</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-20T13:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594057#M681913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594057#M681913</guid>
      <dc:creator />
      <dc:date>2014-03-20T13:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594058#M681916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;ok&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ca&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;no longer&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;generates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an error, but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it shows&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;IMG alt="result.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55466_result.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594058#M681916</guid>
      <dc:creator />
      <dc:date>2014-03-20T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594059#M681919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV style="display: inline-block;"&gt;&lt;DIV&gt;&lt;SPAN class="ita-kd-inputtools-div"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;if I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;create a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;simple table&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;user&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;id&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;how I will&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use the term&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;count&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="atn hps"&gt;count (&lt;/SPAN&gt;&lt;SPAN&gt;{$&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;FLAGLATE&lt;/SPAN&gt; &lt;SPAN class="atn hps"&gt;= {&lt;/SPAN&gt;&lt;SPAN&gt;1}&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FLAGMINHOURS&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594059#M681919</guid>
      <dc:creator />
      <dc:date>2014-03-20T13:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594060#M681921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add a tablebox using Table and verify if the records you wants are flagged&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes build the chart using the expression in my attachment (modified because of different source data); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; idusager&lt;/P&gt;&lt;P&gt;expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({$ &amp;lt;FLAGLATE={1},FLAGMINHOURS={1}&amp;gt;} DISTINCT date) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 13:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594060#M681921</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-20T13:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594061#M681922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;thank you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;it works well&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594061#M681922</guid>
      <dc:creator />
      <dc:date>2014-03-20T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: term sum or count</title>
      <link>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594062#M681923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this discussion by giving Correct and Helpful answers to the posts which are useful for you.&amp;nbsp; It helps others in finding answers for similar scenarios.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/term-sum-or-count/m-p/594062#M681923</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-20T14:24:55Z</dc:date>
    </item>
  </channel>
</rss>

