<?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: Total row in pivot table with null value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669761#M506925</link>
    <description>&lt;P&gt;Thank you Vegar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your suggestions work perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so so much!&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 18:59:43 GMT</pubDate>
    <dc:creator>DNeri</dc:creator>
    <dc:date>2020-01-27T18:59:43Z</dc:date>
    <item>
      <title>Total row in pivot table with null value</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669210#M506921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an expression as follow:&lt;/P&gt;&lt;P&gt;=if(dim=a, 123*sum(time), if(dim=b, 234*sum(time), if(dim=c, 345*sum(time)))).&lt;/P&gt;&lt;P&gt;I understand that for the total, it cannot calculate the expression due to the fact that there is not a specific dimension, but is there a way around?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 15:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669210#M506921</guid>
      <dc:creator>DNeri</dc:creator>
      <dc:date>2020-01-26T15:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Total row in pivot table with null value</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669211#M506922</link>
      <description>&lt;P&gt;You could change the total from expression total to sum of rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or &lt;EM&gt;&lt;STRONG&gt;may&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;be&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;it can be solved&amp;nbsp; by changing to this expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Pick(Match(dim,a,b,c) 123, 234, 345) * sum(time)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 15:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669211#M506922</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-26T15:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Total row in pivot table with null value</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669214#M506923</link>
      <description>&lt;P&gt;Thank you Vegar for your quick response.&lt;/P&gt;&lt;P&gt;I cannot change the total from expression to total of rows, because that option in my case is greyed out.&lt;/P&gt;&lt;P&gt;I thank you for teaching me this new function (Pick and Match) instead of multiple IF statements, I do prefer it.&lt;/P&gt;&lt;P&gt;Unfortunately, in the Total is still showing Null as value.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 17:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669214#M506923</guid>
      <dc:creator>DNeri</dc:creator>
      <dc:date>2020-01-26T17:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Total row in pivot table with null value</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669233#M506924</link>
      <description>&lt;P&gt;Take a look at the attached qvw file. I've created an example where I have two working expressions. One using pick match and one using your nested if expression. (I made some adjustments to my previous expression like adding ' ' and moving the sum to include everything. I also added an aggr to your IFs)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match())&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;=sum(Pick(Match(dim,'a','b','c') ,123, 234, 345) * time)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nested IFs&lt;BR /&gt;&lt;/STRONG&gt;&lt;FONT face="courier new,courier"&gt;=sum(aggr(if(dim='a', 123*sum(time), if(dim='b', 234*sum(time), if(dim='c', 345*sum(time)))), dim))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27468i61275A82D6EA6917/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 22:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669233#M506924</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-26T22:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Total row in pivot table with null value</title>
      <link>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669761#M506925</link>
      <description>&lt;P&gt;Thank you Vegar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your suggestions work perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so so much!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 18:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-row-in-pivot-table-with-null-value/m-p/1669761#M506925</guid>
      <dc:creator>DNeri</dc:creator>
      <dc:date>2020-01-27T18:59:43Z</dc:date>
    </item>
  </channel>
</rss>

