<?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 How to accept NULL values in parameter? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140513#M9868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a variable with parameters like following:&lt;/P&gt;&lt;P&gt;vMyVariable&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[Condition1] = {'abc'},[Condition2] = {$1}&amp;gt;}$2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, in one instance I would like to call this variable and make it ignore Condition2 (accept also not existing values).&lt;/P&gt;&lt;P&gt;I could write set analysis like this:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[Condition1] = {'yes'},[Condition2] = &amp;gt;}Sales) that would do the trick, but I cannot figure out how to use it with parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMyVariable(,Sales) returns 0&lt;/P&gt;&lt;P&gt;vMyVariable(*,Sales) would take only fields with any value in Condition2 and I will be missing values where Condition2 is NULL.&lt;/P&gt;&lt;P&gt;(Condition2 is in dimension table and doesn't exists for some lines)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any of any way how to call this parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2018 08:28:09 GMT</pubDate>
    <dc:creator>Dano</dc:creator>
    <dc:date>2018-10-08T08:28:09Z</dc:date>
    <item>
      <title>How to accept NULL values in parameter?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140513#M9868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a variable with parameters like following:&lt;/P&gt;&lt;P&gt;vMyVariable&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[Condition1] = {'abc'},[Condition2] = {$1}&amp;gt;}$2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, in one instance I would like to call this variable and make it ignore Condition2 (accept also not existing values).&lt;/P&gt;&lt;P&gt;I could write set analysis like this:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[Condition1] = {'yes'},[Condition2] = &amp;gt;}Sales) that would do the trick, but I cannot figure out how to use it with parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMyVariable(,Sales) returns 0&lt;/P&gt;&lt;P&gt;vMyVariable(*,Sales) would take only fields with any value in Condition2 and I will be missing values where Condition2 is NULL.&lt;/P&gt;&lt;P&gt;(Condition2 is in dimension table and doesn't exists for some lines)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any of any way how to call this parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 08:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140513#M9868</guid>
      <dc:creator>Dano</dc:creator>
      <dc:date>2018-10-08T08:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to accept NULL values in parameter?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140514#M9869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression for a variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;[Condition1] = {'abc'},[Condition2] = $1&amp;gt;} $2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and pass a whitespase as a &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;parameter &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vMyVariable( ,Sales) or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMyVariable(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{'abc'}&lt;/SPAN&gt;,Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 19:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140514#M9869</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-10-08T19:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to accept NULL values in parameter?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140515#M9870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum({$&amp;lt;[Condition1] = {'abc'},[Condition2] = $1&amp;gt;}$2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and then pass value like this for ignoring condition2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;vMyVariable({*},Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for other conditions, may be this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMyVariable({"&amp;gt;10"},Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 19:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140515#M9870</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-08T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to accept NULL values in parameter?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140516#M9871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;putting $1 without {} and calling &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMyVariable( ,Sales) solved the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-accept-NULL-values-in-parameter/m-p/140516#M9871</guid>
      <dc:creator>Dano</dc:creator>
      <dc:date>2018-10-09T05:52:27Z</dc:date>
    </item>
  </channel>
</rss>

