<?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: Different selections for two expressions in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-selections-for-two-expressions-in-a-chart/m-p/405457#M1150870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you need to ignore the selections of &lt;STRONG&gt;Sales.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the syntax for both cost and sales using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Cost:&lt;/P&gt;&lt;P&gt;Sum(CostField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sales:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;A=,B=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Sales expression we are ignoring the selections made in the Field A and B. at the same time the cost will change according to selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopw this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Apr 2013 18:43:30 GMT</pubDate>
    <dc:creator>nilesh_gangurde</dc:creator>
    <dc:date>2013-04-26T18:43:30Z</dc:date>
    <item>
      <title>Different selections for two expressions in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Different-selections-for-two-expressions-in-a-chart/m-p/405456#M1150869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to make a chart with 2 expressions - Sales and Cost. The way the data is structured, i need different filters on these two to get the right number. For instance, I have two fields "A" and "B" with values "y" and "n" for both. I want "y" to be selected for both A &amp;amp; B to get the right Cost, and don't want any filters on for Sales. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if i have a list box and select the "y"s for both A and B, i'd get the right cost but my sales number is off. Is there a way i can work around this? Tried putting an if condition in the expression and calculation condition too but it didn't help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 16:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-selections-for-two-expressions-in-a-chart/m-p/405456#M1150869</guid>
      <dc:creator />
      <dc:date>2013-04-26T16:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Different selections for two expressions in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Different-selections-for-two-expressions-in-a-chart/m-p/405457#M1150870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case you need to ignore the selections of &lt;STRONG&gt;Sales.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the syntax for both cost and sales using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Cost:&lt;/P&gt;&lt;P&gt;Sum(CostField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sales:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;A=,B=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Sales expression we are ignoring the selections made in the Field A and B. at the same time the cost will change according to selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopw this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 18:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-selections-for-two-expressions-in-a-chart/m-p/405457#M1150870</guid>
      <dc:creator>nilesh_gangurde</dc:creator>
      <dc:date>2013-04-26T18:43:30Z</dc:date>
    </item>
  </channel>
</rss>

