<?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 empty rows using aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773155#M591239</link>
    <description>&lt;P&gt;if the field is blank and you count it - it will return 0, so in your statement&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Jalons Couverts&amp;nbsp;: is the number of rows covered by "Technique_Detection" and should be 0 in this case&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;there is something else going on, if you can show your expression for this, it would be helpful.&lt;BR /&gt;&lt;BR /&gt;another way of counting nulls is this:&lt;BR /&gt;&lt;BR /&gt;if you have Product and Type, and you want to count products with null TYpes:&lt;BR /&gt;&lt;BR /&gt;count(Product) -all products&lt;BR /&gt;count(Type={"*"}Product) - all prpoducts with NON NULL types&lt;BR /&gt;count(Product) - count(&amp;nbsp;Type={"*"}Product) - all products with NULL Types&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Jan 2021 14:53:19 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-01-10T14:53:19Z</dc:date>
    <item>
      <title>Count empty rows using aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1772942#M591232</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to count rows where Technique_Detection is empty group by Numero_Sillon, Type_Horaire Technique_Detection&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="creepingdeath_0-1610126220546.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46658iB72098D3309F7CE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="creepingdeath_0-1610126220546.png" alt="creepingdeath_0-1610126220546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This was the expression I used :&lt;/P&gt;&lt;P&gt;count(Aggr(count( {&amp;lt;Technique_Detection={'GNSS','Localisateur','ObservationManuelle'}&amp;gt;} Technique_Detection),Date_Circulation,Numero_Sillon,CR_CI_CH,Type_Horaire))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is the unexpected result that I want to avoid.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="creepingdeath_1-1610126382393.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46659i63ED0477D2FA6203/image-size/medium?v=v2&amp;amp;px=400" role="button" title="creepingdeath_1-1610126382393.png" alt="creepingdeath_1-1610126382393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jalons Couverts&lt;/STRONG&gt; : is the number of rows covered by "Technique_Detection" and should be 0 in this case&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Total_Jalons&lt;/STRONG&gt; : is the total calculated by this expression :&amp;nbsp;count(TOTAL Aggr(count(Ordre),Date_Circulation,Numero_Sillon,CR_CI_CH,Type_Horaire))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Taux_de_couverture&lt;/STRONG&gt;: is the coverage pourcentage wich should be 0%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1772942#M591232</guid>
      <dc:creator>creepingdeath</dc:creator>
      <dc:date>2024-11-16T17:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count empty rows using aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773150#M591234</link>
      <description>&lt;P&gt;Any help ?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 13:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773150#M591234</guid>
      <dc:creator>creepingdeath</dc:creator>
      <dc:date>2021-01-10T13:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count empty rows using aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773153#M591237</link>
      <description>&lt;P&gt;a simple solution would be to add an EMPTY flag or count in your script:&lt;BR /&gt;&lt;BR /&gt;load ...&lt;BR /&gt;if(isnull(&lt;SPAN&gt;Technique_Detection&amp;nbsp;),1) as BlankTech,&lt;BR /&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this way it will be a simple SUM(BlankTech) to get all blank values for that field instead of creating a complex expression&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 14:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773153#M591237</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-10T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count empty rows using aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773155#M591239</link>
      <description>&lt;P&gt;if the field is blank and you count it - it will return 0, so in your statement&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Jalons Couverts&amp;nbsp;: is the number of rows covered by "Technique_Detection" and should be 0 in this case&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;there is something else going on, if you can show your expression for this, it would be helpful.&lt;BR /&gt;&lt;BR /&gt;another way of counting nulls is this:&lt;BR /&gt;&lt;BR /&gt;if you have Product and Type, and you want to count products with null TYpes:&lt;BR /&gt;&lt;BR /&gt;count(Product) -all products&lt;BR /&gt;count(Type={"*"}Product) - all prpoducts with NON NULL types&lt;BR /&gt;count(Product) - count(&amp;nbsp;Type={"*"}Product) - all products with NULL Types&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 14:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773155#M591239</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-10T14:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count empty rows using aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773157#M591241</link>
      <description>&lt;P&gt;there will of course be a few other ways to do it and some may apply to your specific need based on your business rules and some may not.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jan 2021 14:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-empty-rows-using-aggregation/m-p/1773157#M591241</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-10T14:57:28Z</dc:date>
    </item>
  </channel>
</rss>

