<?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: Checking for a null variable in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903064#M74489</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;if you want to count null values i strongly suggest you to use Null as values&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/NullAsValue.htm#:~:text=The%20NullAsValue%20statement%20specifies%20for,be%20converted%20to%20a%20value.&amp;amp;text=By%20default%2C%20Qlik%20Sense%20considers,rather%20than%20simply%20missing%20values." target="_blank"&gt;NullAsValue ‒ Qlik Sense on Windows&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;then you user one special character to that and user count distinct base by the particular character&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 14:29:06 GMT</pubDate>
    <dc:creator>srchagas</dc:creator>
    <dc:date>2022-03-09T14:29:06Z</dc:date>
    <item>
      <title>Checking for a null variable in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903061#M74488</link>
      <description>&lt;P&gt;I have a KPI that expresses as:&lt;/P&gt;
&lt;P&gt;=count(DISTINCT {&amp;lt;[OFFICE_CODE]={"=Match([OFFICE_CODE],$(vFilterOffice))"}&amp;gt;&lt;BR /&gt;* $(=right(left('$($(vFilter))', len('$($(vFilter))') - 1), len('$($(vFilter))') - 2))&lt;/P&gt;
&lt;P&gt;} [Title])&lt;/P&gt;
&lt;P&gt;This works correctly when vFilter is initiated, however upon load, it is not initiated, which is causing my KPI to print at -.&lt;/P&gt;
&lt;P&gt;The expressions upon load expresses as * -&lt;/P&gt;
&lt;P&gt;Is there a way to check if vFilter is null or empty on load?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 14:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903061#M74488</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2022-03-09T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Checking for a null variable in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903064#M74489</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;if you want to count null values i strongly suggest you to use Null as values&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/NullAsValue.htm#:~:text=The%20NullAsValue%20statement%20specifies%20for,be%20converted%20to%20a%20value.&amp;amp;text=By%20default%2C%20Qlik%20Sense%20considers,rather%20than%20simply%20missing%20values." target="_blank"&gt;NullAsValue ‒ Qlik Sense on Windows&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;then you user one special character to that and user count distinct base by the particular character&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 14:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903064#M74489</guid>
      <dc:creator>srchagas</dc:creator>
      <dc:date>2022-03-09T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Checking for a null variable in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903073#M74490</link>
      <description>&lt;P&gt;You used already len(var) - why not also for if(len(var), your's ..., 'default value'). Another approach may be:&lt;/P&gt;
&lt;P&gt;coalesce(Expression, 'please define vFilter')&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 14:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Checking-for-a-null-variable-in-set-analysis/m-p/1903073#M74490</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-03-09T14:51:18Z</dc:date>
    </item>
  </channel>
</rss>

