<?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 Filter in Chart Totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-in-Chart-Totals/m-p/146470#M25030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a set of data imported from SQL which looks like this:&lt;/P&gt;&lt;P&gt;FileName FileSize Summed&lt;/P&gt;&lt;P&gt;CP 1000 1&lt;/P&gt;&lt;P&gt;VP 2000 1&lt;/P&gt;&lt;P&gt;CP2 100 0&lt;/P&gt;&lt;P&gt;I want to display the data in a chart, so that when each file name is selected it shows the appropriate file size (easy), but where nothing is selected in the filter only the sizes where the Summed Column is 1 should be totalled. So in the case above the total file size would be 3000 (the CP2 file size is not summed, so not included in the total).&lt;/P&gt;&lt;P&gt;I have tried various If statements in the Expression but with no luck. Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2009 23:04:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-10T23:04:26Z</dc:date>
    <item>
      <title>Filter in Chart Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-Chart-Totals/m-p/146470#M25030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a set of data imported from SQL which looks like this:&lt;/P&gt;&lt;P&gt;FileName FileSize Summed&lt;/P&gt;&lt;P&gt;CP 1000 1&lt;/P&gt;&lt;P&gt;VP 2000 1&lt;/P&gt;&lt;P&gt;CP2 100 0&lt;/P&gt;&lt;P&gt;I want to display the data in a chart, so that when each file name is selected it shows the appropriate file size (easy), but where nothing is selected in the filter only the sizes where the Summed Column is 1 should be totalled. So in the case above the total file size would be 3000 (the CP2 file size is not summed, so not included in the total).&lt;/P&gt;&lt;P&gt;I have tried various If statements in the Expression but with no luck. Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 23:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-Chart-Totals/m-p/146470#M25030</guid>
      <dc:creator />
      <dc:date>2009-06-10T23:04:26Z</dc:date>
    </item>
    <item>
      <title>Filter in Chart Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-Chart-Totals/m-p/146471#M25031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming your Summed values are always 1 or 0, you've got a builtin Oleg-style flag to use. How about an chart expression like:&lt;/P&gt;&lt;P&gt;sum(if(GetSelectedCount(FileName) &amp;gt; 0, FileSize, FileSize * Summed))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 03:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-Chart-Totals/m-p/146471#M25031</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-11T03:00:58Z</dc:date>
    </item>
  </channel>
</rss>

