<?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 How to filter 1 column based another when creating a chart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-1-column-based-another-when-creating-a-chart/m-p/438138#M561688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the basic questions - I am really new to Qlikview...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset which includes fields similar to the ones below.&amp;nbsp; I want to create a table that shows the the sum of the calculated column, but only where Text = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone suggest a good way of doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Calculation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;=if(Sum(X)=0,null, Sum(X)/Sum(y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;=if(Sum(X)=0,null, Sum(X)/Sum(y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;=if(Sum(X)=0,null, Sum(X)/Sum(y)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Mar 2013 16:59:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-13T16:59:09Z</dc:date>
    <item>
      <title>How to filter 1 column based another when creating a chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-1-column-based-another-when-creating-a-chart/m-p/438138#M561688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the basic questions - I am really new to Qlikview...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset which includes fields similar to the ones below.&amp;nbsp; I want to create a table that shows the the sum of the calculated column, but only where Text = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone suggest a good way of doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Calculation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;=if(Sum(X)=0,null, Sum(X)/Sum(y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;=if(Sum(X)=0,null, Sum(X)/Sum(y)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;=if(Sum(X)=0,null, Sum(X)/Sum(y)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 16:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-1-column-based-another-when-creating-a-chart/m-p/438138#M561688</guid>
      <dc:creator />
      <dc:date>2013-03-13T16:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 1 column based another when creating a chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-1-column-based-another-when-creating-a-chart/m-p/438139#M561689</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;/P&gt;&lt;P&gt;sum({&amp;lt;Text={'A'}&amp;gt;}X)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 17:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-1-column-based-another-when-creating-a-chart/m-p/438139#M561689</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-03-13T17:01:58Z</dc:date>
    </item>
  </channel>
</rss>

