<?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: Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593146#M1108208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(b='NULL' or IsNull(b) or b = '-' or b = 0,'', b)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 09:36:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-19T09:36:38Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593142#M1108200</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 got this table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="123.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55330_123.png" style="width: 620px; height: 208px;" /&gt;&lt;/P&gt;&lt;P&gt;Now I got a problem. Got 2 expressions first 1 for the total km, second one for km outside.&lt;/P&gt;&lt;P&gt;However in my second expression there is no data for vehiclecategory B but it keeps filling it with 0's. Is it possible to solve this?&lt;/P&gt;&lt;P&gt;Do I need to start looking my excel? Script?&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 08:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593142#M1108200</guid>
      <dc:creator />
      <dc:date>2014-03-19T08:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593143#M1108202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want 0 as value (if you have yet tried with missing and null value settings) you may write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(myexpression=0,'Not Available', myexpression)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593143#M1108202</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-19T09:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593144#M1108204</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;SPAN style="font-family: courier new,courier;"&gt;=if(b='NULL' or IsNull(b) or b = 0,'', b)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Regards&lt;BR /&gt;Stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593144#M1108204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593145#M1108206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with your expression it comes up like this&lt;/P&gt;&lt;P&gt;if(Km_Outside=0,'Not Available', Km_Outside)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55312_2.png" style="width: 620px; height: 227px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593145#M1108206</guid>
      <dc:creator />
      <dc:date>2014-03-19T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593146#M1108208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(b='NULL' or IsNull(b) or b = '-' or b = 0,'', b)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593146#M1108208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T09:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593147#M1108210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that b is a field and a dimension, I think that if b has values with some combination of the other dimensions (eg in Total KM in your example), you will be unable to suppress the display for combinations that contain no values (eg KM Outside)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I can suggest is that you change what's displayed for the null and/or missing value on Properties | Presentation (eg a space, so nothing is displayed). But the column will remain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593147#M1108210</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-19T09:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593148#M1108211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that was exactly what I was thinking. But I really hoped there was a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593148#M1108211</guid>
      <dc:creator />
      <dc:date>2014-03-19T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593149#M1108212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be able to do something with a calculated dimension, which return null for the 'empty' combinations, but its likely to be quite complex as it will need to Sum(Aggr(...)) the expressions you want to test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you post your expression and the existing dimensions, I could give it a try, if you need some help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593149#M1108212</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-19T09:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593150#M1108213</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;=if(Production.VehicleCategory = 'B'='NULL' or IsNull(Production.VehicleCategory = 'B') or Production.VehicleCategory = 'B' = '-' or Production.VehicleCategory = 'B' = 0,'', Production.VehicleCategory = 'B')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593150#M1108213</guid>
      <dc:creator />
      <dc:date>2014-03-19T09:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593151#M1108214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That would be really kind of you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dimensions:&lt;/P&gt;&lt;P&gt;DivisionName&lt;/P&gt;&lt;P&gt;Week&lt;/P&gt;&lt;P&gt;Vehiclecategory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;sum(total_KM)&lt;/P&gt;&lt;P&gt;sum(total_outside)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593151#M1108214</guid>
      <dc:creator />
      <dc:date>2014-03-19T09:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593152#M1108215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not what I had in mind. Something more like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Sum(Aggr(&amp;lt;the chart expression&amp;gt;, Production.VehicleCategory, Week, DivisionName)) &amp;lt;&amp;gt; 0, Production.VehicleCategory, null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then enable Suppress nulls for that dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might need something like Sum(TOTAL &amp;lt;Week, DivisionName&amp;gt; Aggr(...))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593152#M1108215</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-19T09:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/593153#M1108216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My previous reply was posted before I saw your post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So these two columns are two expressions? Then what I had in mind won't work, I am afraid. I had assumed that Total KM and Km Outside were coming from a field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/593153#M1108216</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-03-19T09:58:28Z</dc:date>
    </item>
  </channel>
</rss>

