<?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 problems with a count of nulls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196614#M502956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Count({&amp;lt; date = {"&amp;gt;=$(dateFrom)&amp;lt;=$(DateTo)"} &amp;gt;} Field)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I don't know spanish(?), but I think it was just an example, where you must change the variable names that you use in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Mar 2010 11:02:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-30T11:02:23Z</dc:date>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196609#M502951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an expression on a pivot table&lt;/P&gt;&lt;P&gt;=Count (if (date&amp;gt;=dateFrom and date&amp;lt;=DateTo), Field) //where dateFrom and DateTo are variables and Date the name of another filed.&lt;/P&gt;&lt;P&gt;and the count give me always 0.&lt;/P&gt;&lt;P&gt;i think is because the Field has NULLs. How can i filter the expression to don´t count the nulls??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anybody thinks that the problem is another i am open to all the answers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 12:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196609#M502951</guid>
      <dc:creator />
      <dc:date>2010-03-29T12:06:15Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196610#M502952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola,&lt;/P&gt;&lt;P&gt;Puedes comprobar fácilmente la existencia de valores nulos en el campo Fecha con&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Len(Fecha) = 0, 'Es Nulo')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;Por otro lado, comprueba que los valores del campo "Fecha" y los de las variables "FechaDesde" y "FechaHasta" tienen el mismo formato de fecha (ya que si no, la comparación siempre dará falso), si no lo tienen, siempre puedes forzar a comprobar con &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Date(CampoFecha) = Date(VariableFecha)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Una sugerencia para incorporar ese análisis como análisis de conjuntos podría ser&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; Fecha = {"&amp;gt;=$(vFechaDesde)&amp;lt;=$(vFechaHasta)"} &amp;gt;} Field)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;donde campo y variables tienen el mismo formato de fecha. Aparte el rendimiento seguramente será mayor. &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Mar 2010 12:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196610#M502952</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-29T12:32:53Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196611#M502953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the last expression gives shows me the ( in red... but it doesn't says expression error..&lt;/P&gt;&lt;P&gt;and in the pivot table it doesn't show me any value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 09:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196611#M502953</guid>
      <dc:creator />
      <dc:date>2010-03-30T09:49:29Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196612#M502954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where exactly does it show the error or the red parenthesis?&lt;/P&gt;&lt;P&gt;Do the variables exist and have formatted date as to match with Field?&lt;/P&gt;&lt;P&gt;You're bound to do, have you changed "Field" for your date field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196612#M502954</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-30T10:47:29Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196613#M502955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have upload the image of the error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 10:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196613#M502955</guid>
      <dc:creator />
      <dc:date>2010-03-30T10:55:18Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196614#M502956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Count({&amp;lt; date = {"&amp;gt;=$(dateFrom)&amp;lt;=$(DateTo)"} &amp;gt;} Field)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I don't know spanish(?), but I think it was just an example, where you must change the variable names that you use in your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 11:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196614#M502956</guid>
      <dc:creator />
      <dc:date>2010-03-30T11:02:23Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196615#M502957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry in english&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count( {&amp;lt; Date = {"&amp;gt;=$(vDateFrom)&amp;lt;=$(vDateTo)"} &amp;gt;} Code)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 11:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196615#M502957</guid>
      <dc:creator />
      <dc:date>2010-03-30T11:43:01Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196616#M502958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please upload an example (qvw file). It will be easier to get your point.&lt;/P&gt;&lt;P&gt;Thank´s&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 11:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196616#M502958</guid>
      <dc:creator />
      <dc:date>2010-03-30T11:49:38Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196617#M502959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, first of all, are you working with version 9.x? I'm working with many different and more complex set analysis syntaxes and they are working ok. Is that the dialog that appears when you add an expression in pivot / straight table?&lt;/P&gt;&lt;P&gt;It doesn't make any sense for me, unless you are working with previous versions of QlikView, when Set Analysis was not supported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 11:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196617#M502959</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-30T11:52:33Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196618#M502960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my version is 8.01&lt;/P&gt;&lt;P&gt;to the other question i cant do now.... i will upload an example tomorrow..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for all .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 12:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196618#M502960</guid>
      <dc:creator />
      <dc:date>2010-03-30T12:32:11Z</dc:date>
    </item>
    <item>
      <title>problems with a count of nulls</title>
      <link>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196619#M502961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then Set Analysis won't work. So gaoing back to conditionals, if your example returns zero or null, then some dates may not be correctly formatted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 15:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problems-with-a-count-of-nulls/m-p/196619#M502961</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-03-30T15:01:25Z</dc:date>
    </item>
  </channel>
</rss>

