<?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 count whit conditional in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181779#M382910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe lik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Clasificacion_llamada={'A'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Duracion_de_abandono = {"&amp;gt;00:00:05"},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;Llamada_AN = {"=Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Agente_Key)=0&lt;/SPAN&gt;"&lt;/STRONG&gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;} distinct Llamada_ANI)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, use an advanced search with an appropriate aggregation function on the field you want to count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 15:49:41 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-09-13T15:49:41Z</dc:date>
    <item>
      <title>How to count whit conditional</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181774#M382905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.... I have a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have this values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="imagen1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137193_imagen1.jpg" style="height: 218px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I need to count the column "Llamada" but the number cant not repeat and the column "Nombre del agente" have to be null.&lt;/P&gt;&lt;P&gt;If you see the row&amp;nbsp; 4, 5 and 6 its the same number and have a value "Luis Lopez" in column "Nombre del agente" so, this number not enter in the count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if(Clasificacion_llamada='A' and Nombre_del_Agente = '' ,Llamada_ANI))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This work correctly if the column "Nombre agente" were null, but how have a value firts delete this row and count a number i need to not count a numbre because this numbre were a name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that clear?&amp;nbsp; sorry for my english..&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 20:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181774#M382905</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2016-09-12T20:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to count whit conditional</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181775#M382906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with set analysis, as it first updates the record set as per modifiers and then apply count distinct logic, You may need to correct the set stmt formattin - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Clasificacion_llamada={'A'}&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Nombre_del_Agente ={"$(=len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Nombre_del_Agente))=0"}&amp;gt;} distinct &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Llamada_ANI)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 06:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181775#M382906</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-09-13T06:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to count whit conditional</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181776#M382907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&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;=count({&amp;lt;Clasificacion_llamada={A}, Llamada_ANI = {"=Count(Nombre_del_Agente)=0"} &amp;gt;} distinct Llamada_ANI)&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;or&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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({&amp;lt;Clasificacion_llamada={A}, Llamada_ANI = {"=Len(trim(Concat(Nombre_del_Agente)))=0"} &amp;gt;} distinct Llamada_ANI)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 06:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181776#M382907</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-13T06:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to count whit conditional</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181777#M382908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or maybe add the first filter to the advanced search (depending on your exact requirements), like in&lt;/P&gt;&lt;P&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;=count({&amp;lt; Llamada_ANI = {"=Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Clasificacion_llamada={A}&lt;/SPAN&gt;&amp;gt;} Nombre_del_Agente)=0"} &amp;gt;} distinct Llamada_ANI)&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 06:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181777#M382908</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-13T06:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to count whit conditional</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181778#M382909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.... .I tried and have other question, how should i use in case i dont want to compare whit the variable "Nombre_del_Agente" and i need to use "CodigoAgente"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="imagen2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137294_imagen2.jpg" style="height: 329px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my original code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if(Clasificacion_llamada='A' and Agente_Key = 0 and Duracion_de_abandono &amp;gt; '00:00:05',Llamada_ANI))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in case the column "llamada ANI" have a agent_key different a "0" this number llamada_ANI should not enter in the count.&lt;/P&gt;&lt;P&gt;So, for this case the value should be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quantity for 01/07 :&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;12 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not count the number "14582098"&amp;nbsp; (blue color) because one row have a codigoAgente different a "0"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="imagen3.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/137296_imagen3.jpg" style="height: 317px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 14:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181778#M382909</guid>
      <dc:creator>jose_vargas</dc:creator>
      <dc:date>2016-09-13T14:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to count whit conditional</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181779#M382910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe lik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Clasificacion_llamada={'A'}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Duracion_de_abandono = {"&amp;gt;00:00:05"},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;Llamada_AN = {"=Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Agente_Key)=0&lt;/SPAN&gt;"&lt;/STRONG&gt;}&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;} distinct Llamada_ANI)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, use an advanced search with an appropriate aggregation function on the field you want to count.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 15:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-whit-conditional/m-p/1181779#M382910</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-13T15:49:41Z</dc:date>
    </item>
  </channel>
</rss>

