<?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 Fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863691#M71288</link>
    <description>&lt;P&gt;I assume that the values aren't empty else NULL. NULL isn't be stored in any way could be therefore not selected and also not be excluded. AFAIK there are ways to calculate them with an indirect set analysis but it's not always trivial.&lt;/P&gt;
&lt;P&gt;Easier is it in many cases to replace the NULL within the script with real values with any of the NULL variables or with measures like:&lt;/P&gt;
&lt;P&gt;if(isnull(Field), 'NULL', Field) as Field&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(len(trim(Field)), Field, 'NULL') as Field&lt;/P&gt;
&lt;P&gt;which makes these values accessible. You may apply here any string you like maybe also ' ' and should such empty/default value be disturbing you may double the field and using one within the UI and the other only for the set analysis.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 15:15:07 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-11-25T15:15:07Z</dc:date>
    <item>
      <title>Count Empty Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863254#M71231</link>
      <description>&lt;P&gt;Hello Together,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below expression.&amp;nbsp;&lt;BR /&gt;Unfortunately the count for the empty fields (Address &amp;amp; Address_2) does not work.&lt;/P&gt;
&lt;P&gt;[Address]-={'*'}&lt;BR /&gt;[Address_2]-={'*'}&lt;/P&gt;
&lt;P&gt;Do you have any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=Count(aggr(only(distinct{&amp;lt;[Product]={'1'},[Address]-={'*'},&lt;BR /&gt;[Product_Text]={"=WildMatch(Left(Product_Text,20),'*New*')"}&amp;gt;}Product_Number)&lt;BR /&gt;&amp;amp; only(distinct&lt;BR /&gt;{&amp;lt;[Product]={'1'},[Address_2]-={'*'},[Product_Text]={"=WildMatch(Left([Product_Text],20),'*New*')"}&amp;gt;}Product),Product,Options))&lt;/P&gt;
&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 17:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863254#M71231</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-11-24T17:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Empty Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863289#M71233</link>
      <description>&lt;P&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; $&amp;lt;[Product]={'1'},[Product_Text]={"=WildMatch(Left([Product_Text],20),'*New*')"}&amp;gt;&lt;BR /&gt;&amp;nbsp; -&lt;BR /&gt;&amp;nbsp; $&amp;lt;[Address_2]={"*"}&amp;gt;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863289#M71233</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-11-24T19:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count Empty Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863578#M71275</link>
      <description>&lt;P&gt;The expression shows ok but does not count the empty field for Adress and Adress_2.&lt;/P&gt;
&lt;P&gt;Any further ideas?&lt;/P&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;
&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 12:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863578#M71275</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-11-25T12:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count Empty Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863691#M71288</link>
      <description>&lt;P&gt;I assume that the values aren't empty else NULL. NULL isn't be stored in any way could be therefore not selected and also not be excluded. AFAIK there are ways to calculate them with an indirect set analysis but it's not always trivial.&lt;/P&gt;
&lt;P&gt;Easier is it in many cases to replace the NULL within the script with real values with any of the NULL variables or with measures like:&lt;/P&gt;
&lt;P&gt;if(isnull(Field), 'NULL', Field) as Field&lt;/P&gt;
&lt;P&gt;or&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(len(trim(Field)), Field, 'NULL') as Field&lt;/P&gt;
&lt;P&gt;which makes these values accessible. You may apply here any string you like maybe also ' ' and should such empty/default value be disturbing you may double the field and using one within the UI and the other only for the set analysis.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 15:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863691#M71288</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-11-25T15:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count Empty Fields</title>
      <link>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863739#M71299</link>
      <description>&lt;P&gt;Thanks Marcus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked perfectly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards,&amp;nbsp;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 16:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-Empty-Fields/m-p/1863739#M71299</guid>
      <dc:creator>Daniel1908</dc:creator>
      <dc:date>2021-11-25T16:31:37Z</dc:date>
    </item>
  </channel>
</rss>

