<?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 Add a second curve to the chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273606#M1186361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;avg is an aggregation function, so you could add a so called set expression to it (if you don't know what's this, you should start reading in the HELP, or maybe here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://iqlik.wordpress.com/2010/09/11/the-magic-of-set-analysis-syntax-and-examples/"&gt;http://iqlik.wordpress.com/2010/09/11/the-magic-of-set-analysis-syntax-and-examples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think we could start with disregarding only the sym field selections, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({$&amp;lt;sym= &amp;gt;} vol)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could read it like: average all vol values in current selection record set, but clear selection in field sym.&lt;/P&gt;&lt;P&gt;So your time selections, or any other selections will still be taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2011 19:06:02 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-09-20T19:06:02Z</dc:date>
    <item>
      <title>Add a second curve to the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273603#M1186358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on some dashboard while one quick questioncomes to me. To simplify it I attach the simple sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load the table Question to the QVD test2. I want to createa chart so that it could always show two curves: one is based on theconstraints I selected, and the other is the average of all curves, which istherefore a constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone tell me how to add the second curve to the charts? Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 22:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273603#M1186358</guid>
      <dc:creator />
      <dc:date>2011-09-19T22:32:35Z</dc:date>
    </item>
    <item>
      <title>Add a second curve to the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273604#M1186359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope I got your problem correctly, I think you need something like&lt;/P&gt;&lt;P&gt;=avg({1} vol)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. disregarding all selections, only taken the dimension into account for averaging vol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you were looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 22:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273604#M1186359</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-19T22:45:11Z</dc:date>
    </item>
    <item>
      <title>Add a second curve to the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273605#M1186360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your reply. It is very helpful. In reality my situation is a little more complicated. I want the second curve added disregarding some selections but still keep the other. Is there a way to reach that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 11:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273605#M1186360</guid>
      <dc:creator />
      <dc:date>2011-09-20T11:39:37Z</dc:date>
    </item>
    <item>
      <title>Add a second curve to the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273606#M1186361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;avg is an aggregation function, so you could add a so called set expression to it (if you don't know what's this, you should start reading in the HELP, or maybe here: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://iqlik.wordpress.com/2010/09/11/the-magic-of-set-analysis-syntax-and-examples/"&gt;http://iqlik.wordpress.com/2010/09/11/the-magic-of-set-analysis-syntax-and-examples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think we could start with disregarding only the sym field selections, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=avg({$&amp;lt;sym= &amp;gt;} vol)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could read it like: average all vol values in current selection record set, but clear selection in field sym.&lt;/P&gt;&lt;P&gt;So your time selections, or any other selections will still be taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 19:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-a-second-curve-to-the-chart/m-p/273606#M1186361</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-20T19:06:02Z</dc:date>
    </item>
  </channel>
</rss>

