<?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: Show expression if variable different from null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779836#M473137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming both null() and blank string ( '' ) are considered empty, you can use:&lt;/P&gt;&lt;P&gt;Len(VariableName)&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need it to explicitly be null, you should be fine with:&lt;/P&gt;&lt;P&gt;If(Isnull(VariableName),0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or something along those lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 15:02:04 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2014-11-19T15:02:04Z</dc:date>
    <item>
      <title>Show expression if variable different from null</title>
      <link>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779835#M473136</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 created some variables on which I want an expression to be calculated. Now, I only want to show that expression in the chart if the variable is different from null (basically if i have selected some inputs for that variable). [ I actually have 10 variables that appear in the chart]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which expression should i put in the Conditional field of the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 14:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779835#M473136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-19T14:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show expression if variable different from null</title>
      <link>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779836#M473137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming both null() and blank string ( '' ) are considered empty, you can use:&lt;/P&gt;&lt;P&gt;Len(VariableName)&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need it to explicitly be null, you should be fine with:&lt;/P&gt;&lt;P&gt;If(Isnull(VariableName),0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or something along those lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 15:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779836#M473137</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2014-11-19T15:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show expression if variable different from null</title>
      <link>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779837#M473138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;variable&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 0, 'true') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Replace Variable with your variable name and replace 'True' with your expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 15:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-expression-if-variable-different-from-null/m-p/779837#M473138</guid>
      <dc:creator />
      <dc:date>2014-11-19T15:03:40Z</dc:date>
    </item>
  </channel>
</rss>

