<?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 suppress null values in an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133312#M521896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that produces some null values that I do not want to see.&amp;nbsp; I know there is an option to suppress nulls in a dimension, but how can I do it in the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(WildMatch([VendorNum], 'TRA*'),[VendorNum])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 15:41:20 GMT</pubDate>
    <dc:creator>cliff_clayman</dc:creator>
    <dc:date>2016-06-16T15:41:20Z</dc:date>
    <item>
      <title>How to suppress null values in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133312#M521896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression that produces some null values that I do not want to see.&amp;nbsp; I know there is an option to suppress nulls in a dimension, but how can I do it in the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(WildMatch([VendorNum], 'TRA*'),[VendorNum])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133312#M521896</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2016-06-16T15:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress null values in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133313#M521898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there more than one expression in your table? If there is a value available for those expression, then you will continue to see this expression's value as null. to suppress it, all other expressions will have to be manually suppressed by using if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WildMatch([VendorNum], 'TRA*'), YourExpression1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WildMatch([VendorNum], 'TRA*'), YourExpression2)&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;/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 so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133313#M521898</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-16T15:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress null values in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133314#M521900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there are two other expressions in this particular straight table.&amp;nbsp; I'm not sure I follow your answer though in regards to how I should write each expression.&amp;nbsp; The other two expressions are just simple SUMs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 15:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133314#M521900</guid>
      <dc:creator>cliff_clayman</dc:creator>
      <dc:date>2016-06-16T15:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress null values in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133315#M521902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=If(WildMatch([VendorNum], 'TRA*'),[VendorNum]))&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;2) =&lt;/SPAN&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;WildMatch([VendorNum], 'TRA*'), Sum(FieldName1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;3) =If(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;WildMatch([VendorNum], 'TRA*'), &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(FieldName2))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-weight: inherit;"&gt;Assuming you are summing FieldName1 and FieldName2 in your two other expressions&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 16:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-suppress-null-values-in-an-expression/m-p/1133315#M521902</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-16T16:28:41Z</dc:date>
    </item>
  </channel>
</rss>

