<?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 Count between dates in Español</title>
    <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961530#M9048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the sample data attached, which labels are:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="392"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;censo_emp&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Fecha&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;ffin_emp&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;valor&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;where 'censo_emp' is the employee number, 'Fecha' is the employee starting date and 'ffin_emp' the employee finishing date, I need to get the acummulated count of FTE in every month, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" FTE at the Date" must be the accummulated count of the field 'censo_emp' between the minimum 'Fecha' available and every month until the maximum month selected. &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="482"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="212"&gt;Month&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;feb&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;jun&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;jul&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;ago&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;nov&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;FTE at the Date&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I've been trying with quite a few dataset formulaes for filtering between dates, but I just get the started in every month or the accummulated value repeated in every month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Txs you for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Juan Carlos.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 09:10:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-23T09:10:00Z</dc:date>
    <item>
      <title>Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961530#M9048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the sample data attached, which labels are:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="392"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="98"&gt;censo_emp&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Fecha&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;ffin_emp&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;valor&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;where 'censo_emp' is the employee number, 'Fecha' is the employee starting date and 'ffin_emp' the employee finishing date, I need to get the acummulated count of FTE in every month, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" FTE at the Date" must be the accummulated count of the field 'censo_emp' between the minimum 'Fecha' available and every month until the maximum month selected. &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="482"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="212"&gt;Month&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;feb&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;jun&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;jul&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;ago&lt;/TD&gt;&lt;TD class="xl64" width="54"&gt;nov&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;FTE at the Date&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I've been trying with quite a few dataset formulaes for filtering between dates, but I just get the started in every month or the accummulated value repeated in every month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Txs you for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Juan Carlos.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961530#M9048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T09:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961531#M9049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola Juan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;En este grupo te llegarán más respuestas si escribes en castellano, si quieres escribir en inglés tienes casi todos los demás grupos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 12:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961531#M9049</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2015-11-23T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961532#M9050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106408_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si es algo como esto, entonces puedes hacer un campo que adicional para tener e mes y el ano y colocas la expresion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Mes_Fecha={"&amp;lt;=$(=Max(Mes_Fecha))"}&amp;gt;} censo_emp)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 12:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961532#M9050</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2015-11-23T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961533#M9051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias Juan. Con esta expresión obtengo el total en el mes reportado, pero no el acumulado. El acumulado en este caso (la imagen que adjunto es real), sería 1500 aprox.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="count1.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106586_count1.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 10:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961533#M9051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961534#M9052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Entiendo que tu puedes agregar el resultado y sumarlo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({&amp;lt;Mes_Fecha={"&amp;lt;=$(=Max(Mes_Fecha))"}&amp;gt;} censo_emp),Mes))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 12:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961534#M9052</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2015-11-25T12:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961535#M9053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfecto, muchas gracias Juan ! Había intentado usar el Aggr antes, pero no soy un experto y la correcta sintaxis lo es todo :-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esta es la que he usado adaptada al caso concreto:&lt;/P&gt;&lt;P&gt;Sum(Aggr(Count({&amp;lt;Mes={"&amp;lt;=$(=Max(Fecha))"},valor={"Si"} &amp;gt;} censo_emp),Mes))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahora obtengo un total invariable para todos los meses, pero es razonable y entiendo porqué; solo faltaría limitar la cuenta a los valores para los que el mes es superior al mes de fin de contrato, pero cuando uso la siguiente ( o similares quitando el Max, p.e.&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;la nueva restricción no tiene efecto, me sigue sumando 1814.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Entiendo que no estoy definiendo bien la condición.en negrita. ¿Alguna idea?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Aggr(Count({&amp;lt;Mes={"&amp;lt;=$(=Max(Fecha))"},valor={"Si"},&lt;STRONG&gt;Mes={"&amp;gt;=$(Max(Month (ffin_emp)))&lt;/STRONG&gt;"} &amp;gt;} DISTINCT censo_emp),Mes)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="count1.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107305_count1.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961535#M9053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T09:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961536#M9054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perdona Juan, olvida mi anterior mensaje, Acabo de recibir dos respuestas de Florent y Ramón sobre el calendario y el "As-of Calendar" que creo que explican perfectamente lo que necesito hacer para la selección de fechas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muchas gracias!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961536#M9054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T09:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count between dates</title>
      <link>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961537#M9055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 11:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Espa%C3%B1ol/Count-between-dates/m-p/961537#M9055</guid>
      <dc:creator>flochi75</dc:creator>
      <dc:date>2015-11-26T11:14:17Z</dc:date>
    </item>
  </channel>
</rss>

