<?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: filter rows with null in calculated expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204327#M874308</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on monday when I will be back at the office I will revise you suggestions and let you know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards &lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 20:11:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-02T20:11:53Z</dc:date>
    <item>
      <title>filter rows with null in calculated expression</title>
      <link>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204324#M874305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #0000ff;"&gt;Good morning,&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kindly ask you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can suppress value when is null using a dimension (&lt;EM style="color: #0000ff;"&gt;'cashed&lt;/EM&gt;') but I cannot find the way to do it using a calculated expression ('&lt;EM style="color: #0000ff;"&gt;average daily cash&lt;/EM&gt;').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See enclosed sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled-3.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/142645_Untitled-3.jpg" style="height: 293px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204324#M874305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: filter rows with null in calculated expression</title>
      <link>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204325#M874306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace the Null Value with Zero instead of hiding them&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/142735_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 19:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204325#M874306</guid>
      <dc:creator>rupamjyotidas</dc:creator>
      <dc:date>2016-11-02T19:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: filter rows with null in calculated expression</title>
      <link>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204326#M874307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel like I must be confused what you're after. It seems your second chart is already what you want? I would write it like this, but it's almost the same idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Dimension 1 = site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Dimension 2 = if(cashed,game)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Expression 1 = cashed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Expression 2 = [end date]-[start date]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Expression 3 = column(1)/column(2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You say you want to suppress when average daily cash is null, but that's apparently just null when cashed is null, and so it seems you're looking for the same thing as the previous chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's easiest to null out entire rows by making sure one dimension is null, and suppressing nulls for that dimension. But if you really want to leave your dimensions alone, you'd just need to make sure all rows are null if any are null, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Dimension 1 = site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Dimension 2 = game&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Expression 1 = if(cashed,cashed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Expression 2 = if(cashed,[end date]-[start date])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Expression 3 = column(1)/column(2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And suppress zero values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Fixed dimension 2. Said "cashed", should have been "game".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 19:50:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204326#M874307</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-02T19:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: filter rows with null in calculated expression</title>
      <link>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204327#M874308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on monday when I will be back at the office I will revise you suggestions and let you know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards &lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 20:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204327#M874308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T20:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: filter rows with null in calculated expression</title>
      <link>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204328#M874309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: blue;"&gt;Hi John,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;Thank you for your suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;Moving 'cashed' from dimension to expression and using &lt;BR /&gt;the expression 2 = if(cashed,[end date]-[start date])&lt;BR /&gt;now allows to filter by expression !!! &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Dimension 1 = site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Dimension 2 = game&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Expression 1 = &lt;SPAN style="color: maroon;"&gt;cashed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Expression 2 = &lt;SPAN style="color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;cashed&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[end date]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[start date]&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New';"&gt;Expression 3 = &lt;SPAN style="color: blue;"&gt;column&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(1)/&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;column&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;IMG alt="solved.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143103_solved.jpg" style="height: 348px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif; color: black;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 10:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/filter-rows-with-null-in-calculated-expression/m-p/1204328#M874309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-07T10:15:33Z</dc:date>
    </item>
  </channel>
</rss>

