<?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: Calculated dimension with multiple if's in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096683#M940182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Damn, my example was too easy. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should be using multiple values in the second dimension. Let's say B can only show numbers 1 and 2, not 3 and 4.&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and number &amp;lt;&amp;gt; '1' or '2', Null(), number) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;/STRONG&gt;But that does not work, shince it shows me the Null() value for all of the types now. I tested it with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and number &amp;lt;&amp;gt; '1' or '2', 'test', number) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;and it shows me "test" on every line now.&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jan 2016 14:21:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-29T14:21:28Z</dc:date>
    <item>
      <title>Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096679#M940178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question concerning calculated dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 dimensions:&lt;/P&gt;&lt;P&gt;1) type= A, B, C, D&lt;/P&gt;&lt;P&gt;2) number= 1, 2, 3, 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show types A, B and C, BUT for B I only want to show 1, 2 and 3.&lt;/P&gt;&lt;P&gt;So A and C can have all the numbers, but B can only show numbers 1, 2 and 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 08:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096679#M940178</guid>
      <dc:creator />
      <dc:date>2016-01-29T08:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096680#M940179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension 1: &lt;SPAN style="text-decoration: line-through;"&gt;type&lt;/SPAN&gt; &lt;STRONG style="font-size: 13.3333px;"&gt;If(type &amp;lt;&amp;gt; 'D', type)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension 2: If(type = B and number = 4, Null(), number)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select 'Suppress When Value Is Null' for your &lt;SPAN style="text-decoration: line-through;"&gt;second&lt;/SPAN&gt; both dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updated my comment after Stefan's comment and looking at the requirement again &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 12:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096680#M940179</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-29T12:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096681#M940180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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-family: inherit;"&gt;&lt;STRONG&gt;Dimension 1: if(type &amp;lt;&amp;gt; 'D', type)&lt;/STRONG&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-family: inherit;"&gt;&lt;STRONG&gt;Dimension 2: If(type = 'B' and number = 4, Null(), number)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Select 'Suppress When Value Is Null' for&amp;nbsp; both dimensions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 12:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096681#M940180</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-29T12:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096682#M940181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You reverts like a Bullet Train&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 12:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096682#M940181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-29T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096683#M940182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Damn, my example was too easy. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should be using multiple values in the second dimension. Let's say B can only show numbers 1 and 2, not 3 and 4.&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and number &amp;lt;&amp;gt; '1' or '2', Null(), number) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;/STRONG&gt;But that does not work, shince it shows me the Null() value for all of the types now. I tested it with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and number &amp;lt;&amp;gt; '1' or '2', 'test', number) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;and it shows me "test" on every line now.&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 14:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096683#M940182</guid>
      <dc:creator />
      <dc:date>2016-01-29T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096684#M940183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and number &amp;gt;2, Null(), number) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;or &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and not Match(number ,'1','2'), Null(), number) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 17:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096684#M940183</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-29T17:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096685#M940184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that did work indeed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now have another problem thought. I cannot use this formule since I have Null() values in other types too, and those are OK to stay. So I cannot use the "suppress when value is Null" or I will lose other informatie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possible way to tell Qlikview to suppress values when they have a specific value? E.g. if I use this formula:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and not Match(number ,'1','2'), 'be gone', number). &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;Can I ask QV to suppress all values with the value "be gone"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Maybe with the "Enable Conditional" field? I don't know what it is used for.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113159_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096685#M940184</guid>
      <dc:creator />
      <dc:date>2016-02-01T09:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096686#M940185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'enable conditional' will work as a global switch for the dimension, not per dimension line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it would be easier if you replace the NULL in your type field with some value, e.g. 'UNKNOWN' in the LOAD script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD if(len(trim(type)),type, 'UNKNOWN') as type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;FROM YourTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096686#M940185</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-01T10:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096687#M940186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is a (dirty) trick to do that. It consists of embedding all your expressions in a simple test like the one you used in your calculated condition. All expressions returning NULL will produce supressible rows. Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=IF((type &amp;lt;&amp;gt; 'B') or (Not Match(number, '3', '4')), &lt;EM&gt;YourAggregationExpression&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use set analysis to do that with the results of a calculated dimension because set analysis comes first. You may succeed in creating a set analysis spec that does the same. It will look better, and will be better performing.&lt;/P&gt;&lt;P&gt;If you use the IF trick or decent set analysis, you can drop the calculated dimension altogether. It looks and feels like a kludge...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096687#M940186</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-01T10:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096688#M940187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there no other way than having to touch the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096688#M940187</guid>
      <dc:creator />
      <dc:date>2016-02-01T10:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096689#M940188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, this is too much rocket science for me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is my original calculated dimension: &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(type = 'B' and not Match(number ,'1','2'), 'test', number)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;where do I put this? And y&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;ou are talking about aggregated expressions, I have more than 10 expressions, what should I do with them?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Sorry for the possible stupid questions, your answer is just a bit too difficult for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 15:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096689#M940188</guid>
      <dc:creator />
      <dc:date>2016-02-03T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096690#M940189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And it's becoming confusing for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say you cannot use Suppress NULL values on the calculated dimension. Why not? The calculated dimension will produce a NULL value only under certain conditions that you do not want to show anyway. And the Suppress NULL values switch works only on the selected dimension column, not on the others that you may have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful if you could upload a demo document that contains your case in its entirety. Omit everything else if not relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW did you ever think about using set analysis? Performs much better on large data sets and it will do away with all this hacking. See attachment for different examples of excluding type='B' and number = '4' (your initial request), even when there are NULLs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096690#M940189</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-04T08:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096691#M940190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. Underneath you can find my table (it's faster for me to explain it this way, I hope you don't mind).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question: All numbers can stay, EXCEPT everything that is not equal to 1 ir 2 IF it is Type b. (The numbers in red).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My problem: if I use the formula &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;If(type = 'Type b' and not Match(Number ,'1','2'), Null(), Number)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;With this formula numbers 3 and 4 will become a Null() value, which is what I wanted. If I then select "suppress all Null() values", 3 and 4 will be gone, AND the two yellow boxes. It is ok for the upper yellow box to be gone, since it is not 1 or 2 and we are in type b. BUT there is a Null() value in Type c as well, and that one &lt;STRONG&gt;should stay.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;I hope I made it more clear.. Do you have a solution for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Thanks in advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="113542" alt="example.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113542_example.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I looked at your QV-file but I don't really get your example... If I change you expression to "if((type &amp;lt;&amp;gt; 'B') or IsNull(number) or (Not Match(number, '4')), number) and then select "Suppress zero values", I lose all the zero values. Also then ones that should stay (in your example the one in type A, C and D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 10:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096691#M940190</guid>
      <dc:creator />
      <dc:date>2016-02-04T10:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096692#M940191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;If(type = 'Type b' and not Match(Number ,'1','2'), Null(), If(Len(Trim(Number)),Number,'-'))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 17:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096692#M940191</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-04T17:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096693#M940192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This does not change anything. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; The null value in type C will still be there as null value, so I cannot "suppress zero values" or I will lose this information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 08:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096693#M940192</guid>
      <dc:creator />
      <dc:date>2016-02-05T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096694#M940193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, in the end the context becomes a lot clearer. You're using a pivot table, which does not support column hiding. My solutions were for a calculated dimension in a hidden column.&lt;/P&gt;&lt;P&gt;Use Stefan's suggestion together with "Suppress When Value is NULL" on the number column. That should work all right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 10:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096694#M940193</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-05T10:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096695#M940194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't find a Stefan in my thread? Which user do you mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I am very sorry, it is actually not a pivot table, that was just to make it more clear (visual). It is a normal chart.&lt;/P&gt;&lt;P&gt;I tried yours, and I understand the idea behind your solution. But the formule you gave me does not show me what I want. I am trying to tweak it a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: GOT IT! I tweaked you solution but it worked with the hidden "test" column!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I just need a small adaptation. It is more difficult than what we already found, but I feel we are close by&lt;/STRONG&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second column is covered.I used this formula to get the correct answer:&lt;/P&gt;&lt;P&gt;=if((not Match&amp;nbsp; (Type, 'Type b'')) or (Match(number, '1', '2')), 'test')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need something special for type d: type d can only be shown if the number plate is 111111 or 222222.&lt;/P&gt;&lt;P&gt;Basically, the orange boxes should stay and the red numbers should be gone. The issue with the formula written above: numbers 1 and 2 will stay, since I asked them to. Can I use some kind of combination in my calculated dimension? Something like: if it is type d AND number plate ('...'), then....?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet again, thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113726_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 10:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096695#M940194</guid>
      <dc:creator />
      <dc:date>2016-02-05T10:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096696#M940195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The calculated dimension should replace NULL in type 'c'&amp;nbsp; with character '-'. So this should allow you to use the dimension option 'Suppress when value is NULL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am missing something, could you upload a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 17:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096696#M940195</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-05T17:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096697#M940196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan = swuehl. Remember that name, because in a while he will be one of your QlikView Gods too &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have additional conditions, you can add them to your IF using simple Boolean logic (or, and, not etc.) Take care to use the proper number of parentheses. Remember that too many parentheses won't harm but too few almost certainly will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I get it right, you may want to try something like:&lt;/P&gt;&lt;P&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;=IF ((Match(Type, 'Type b'') and Match(Number, '3', '4')) &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or (Match(Type, 'Type d') and Not Match([Number plate], '111111', '222222')), NULL(), 'test')&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;I did use the field names as specified in your screenshot.&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;You can also inverse this logic to do away with the NULL result.&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;Peter&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096697#M940196</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-02-05T18:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with multiple if's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096698#M940197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Stefan = swuehl. Remember that name, because in a while he will be one of your QlikView Gods too &lt;SPAN class="emoticon-inline emoticon_wink" style="height: 16px; width: 16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I second that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-multiple-if-s/m-p/1096698#M940197</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-05T18:23:11Z</dc:date>
    </item>
  </channel>
</rss>

