<?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 Set Analyis expression with null handling in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analyis-expression-with-null-handling/m-p/1566828#M41329</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to create set analysis expression to show count as table heading .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used below expression as measure in table and it works&lt;/P&gt;&lt;P&gt;count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if((isnull([ Year]) or [ Year]= $(vCurrent_FY)) and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (isnull([Flag]) or [Flag]= '1') and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; [Master Flag]= '1'&amp;nbsp;&lt;BR /&gt;code)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add same as table title and don't know how to add and handle null expression&lt;/P&gt;&lt;P&gt;='Table title'&amp;nbsp; &amp;amp;&amp;nbsp;Num(Count({&amp;lt; [Master Flag] = {'1'},&lt;BR /&gt;[Flag]= {'1'}&amp;gt;} Distinct [Code]), '# ##0' )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2019 10:01:47 GMT</pubDate>
    <dc:creator>New-Qlik</dc:creator>
    <dc:date>2019-04-09T10:01:47Z</dc:date>
    <item>
      <title>Set Analyis expression with null handling</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analyis-expression-with-null-handling/m-p/1566828#M41329</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to create set analysis expression to show count as table heading .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used below expression as measure in table and it works&lt;/P&gt;&lt;P&gt;count(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if((isnull([ Year]) or [ Year]= $(vCurrent_FY)) and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (isnull([Flag]) or [Flag]= '1') and&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; [Master Flag]= '1'&amp;nbsp;&lt;BR /&gt;code)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to add same as table title and don't know how to add and handle null expression&lt;/P&gt;&lt;P&gt;='Table title'&amp;nbsp; &amp;amp;&amp;nbsp;Num(Count({&amp;lt; [Master Flag] = {'1'},&lt;BR /&gt;[Flag]= {'1'}&amp;gt;} Distinct [Code]), '# ##0' )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2019 10:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analyis-expression-with-null-handling/m-p/1566828#M41329</guid>
      <dc:creator>New-Qlik</dc:creator>
      <dc:date>2019-04-09T10:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analyis expression with null handling</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analyis-expression-with-null-handling/m-p/1566869#M41330</link>
      <description>&lt;P&gt;Why don't you create a new flag in the script like this&lt;/P&gt;&lt;PRE&gt;If(Len(Trim(Year)) = 0 or Year = '$(vCurrent_FY)', 1, 0) as YearFlag,
If(Len(Trim(Flag)) = 0 or Flag = 1, 1, 0) as FlagFlag,&lt;/PRE&gt;&lt;P&gt;and then use it in your expression&lt;/P&gt;&lt;PRE&gt;='Table title' &amp;amp; &lt;BR /&gt;Num(&lt;BR /&gt;Count({&amp;lt;[Master Flag] = {'1'}, &lt;FONT color="#FF0000"&gt;[FlagFlag] = {'1'}, YearFlag = {'1'}&lt;/FONT&gt;&amp;gt;} DISTINCT [Code])&lt;BR /&gt;, '# ##0' )&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2019 11:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analyis-expression-with-null-handling/m-p/1566869#M41330</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-09T11:35:04Z</dc:date>
    </item>
  </channel>
</rss>

