<?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 Setting a condition for a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315538#M1196763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried a Set Analysis ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 09:07:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-22T09:07:41Z</dc:date>
    <item>
      <title>Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315537#M1196762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize for raising such a basic problem, but I found no solution in the forums so far...&lt;/P&gt;&lt;P&gt;I would like to generate 5 charts that show average prices for 5 different sales departments. It works just fine to show the prices for all departments but I would like to "filter" the first chart to show only SalesDept = SD1, for chart number two SalesDept = SD2 etc. etc.&lt;BR /&gt;&lt;BR /&gt;I played around with the conditions on the general tab of the chart but never got the desired result.&lt;BR /&gt;&lt;BR /&gt;I would really appreciate some help here.&lt;/P&gt;&lt;P&gt;Many thanks&lt;BR /&gt;Günter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315537#M1196762</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:02:55Z</dc:date>
    </item>
    <item>
      <title>Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315538#M1196763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried a Set Analysis ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315538#M1196763</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:07:41Z</dc:date>
    </item>
    <item>
      <title>Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315539#M1196764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to admit that I have no clue of how this works as I just started off with Qlikview...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315539#M1196764</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:13:34Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315540#M1196765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Example syntax of Set could be:&lt;/P&gt;&lt;P&gt;First Chart expression:&lt;/P&gt;&lt;P&gt;Avg({$&amp;lt;SalesDept={'SD1'}&amp;gt;}Price)&lt;/P&gt;&lt;P&gt;Scnd Chart expression:&lt;/P&gt;&lt;P&gt;Avg({$&amp;lt;SalesDept={'SD2'}&amp;gt;}Price)&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;meaning:&lt;/P&gt;&lt;P&gt;{}&amp;lt;- outer means: start and end of set-analysis&lt;/P&gt;&lt;P&gt;$= current selection (i.e. year, month and so on)&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt; = values to pre-set in the set syntax&lt;/P&gt;&lt;P&gt;={} = inner: value-list to set (in this example the SalesDept)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315540#M1196765</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315541#M1196766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Ok,&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;You can have a look on the help looking for Set Analysis, it's quite well explained. Basically this is something like Sum({$&amp;lt;SalesDept = {"SD1"}&amp;gt;} Sales in the expression, that indicate that you keep the whole selection of your application except SalesDept which will be SD1 whatever the selection could be.&lt;/P&gt;&lt;P style="margin:0cm 0cm 10pt;"&gt;Another idea should be to use treillis chart, try to add SalesDept on your dimensions and to click this button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315541#M1196766</guid>
      <dc:creator />
      <dc:date>2011-03-22T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315542#M1196767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi angerer&lt;/P&gt;&lt;P&gt;In order to start with Set Analysis.&lt;/P&gt;&lt;P&gt;Just go throught the document attached&lt;/P&gt;&lt;P&gt;I think this would be a great start&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 09:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315542#M1196767</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2011-03-22T09:25:04Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315543#M1196768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your kind replies!&lt;/P&gt;&lt;P&gt;I have currently selected as Dimension "Month" and as expression&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;([Revenue])/Sum ([Quantityinmtons]) which calculates my average revenue per ton per month. How would I include here the selection for the sales department. Sorry that I'm still completely lost... &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I somehow have the feeling that my approach is completely wrong. I thought that there should be a way to calculate like above and to tell Qlikview "but select only SD1 in the field SalesDept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;({$&amp;lt;SalesDept={"SD1"}&amp;gt;[Revenue]) / Sum ({$&amp;lt;SalesDept={"SD1"}&amp;gt;[Quantityinmtons]) &lt;P&gt;&lt;/P&gt;({$&amp;lt;SalesDept={"SD1"}&amp;gt;[Revenue]) / Sum ({$&amp;lt;SalesDept={"SD1"}&amp;gt;[Quantityinmtons]) &lt;P&gt;({$&amp;lt;SalesDept={"SD1"}&amp;gt;[Revenue]) / Sum ({$&amp;lt;SalesDept={"SD1"}&amp;gt;[Quantityinmtons])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;the above attempt did not work ;-((&lt;/P&gt;&lt;P&gt;Günter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 10:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315543#M1196768</guid>
      <dc:creator />
      <dc:date>2011-03-22T10:15:17Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Setting a condition for a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315544#M1196769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;BR /&gt;&lt;BR /&gt;I think I found the correct way to write the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;SalesDept={SD1}&amp;gt;}Revenue)/Sum({$&amp;lt;SalesDept={SD1}&amp;gt;}[Quantityinmtons])&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Many thanks for all your input - still a long way for me to learn...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 11:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-a-condition-for-a-chart/m-p/315544#M1196769</guid>
      <dc:creator />
      <dc:date>2011-03-22T11:02:37Z</dc:date>
    </item>
  </channel>
</rss>

