<?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 Two line charts with one dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-line-charts-with-one-dimension/m-p/437855#M1160917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikView users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my Edit Script exist one LOAD and SQL-SELECT statement from a DB-Table. One column is the timestamp dimension. Three columns C1, C2, C3 can be selected by the user in three list boxes for selecting data. With one line chart this works fine.&lt;/P&gt;&lt;P&gt;Then I've created a second line chart which has the same dimension like the first chart.&lt;/P&gt;&lt;P&gt;The data should be selected with the same columns C1 and C2, but the data should be selected in a fourth list box from the same column C3 with a different value as in the first chart.&lt;/P&gt;&lt;P&gt;And I don't want to create a second SELECT-statement for the second chart because I want to use only one data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example: C1 = country, C2 = salesperson, C3 = sales of product&lt;/P&gt;&lt;P&gt;In the tow charts should be displayed the data of the same country and salesman, but of two different products&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give me some hints ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2012 11:25:14 GMT</pubDate>
    <dc:creator>dieter_staufenb</dc:creator>
    <dc:date>2012-12-14T11:25:14Z</dc:date>
    <item>
      <title>Two line charts with one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Two-line-charts-with-one-dimension/m-p/437855#M1160917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QlikView users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my Edit Script exist one LOAD and SQL-SELECT statement from a DB-Table. One column is the timestamp dimension. Three columns C1, C2, C3 can be selected by the user in three list boxes for selecting data. With one line chart this works fine.&lt;/P&gt;&lt;P&gt;Then I've created a second line chart which has the same dimension like the first chart.&lt;/P&gt;&lt;P&gt;The data should be selected with the same columns C1 and C2, but the data should be selected in a fourth list box from the same column C3 with a different value as in the first chart.&lt;/P&gt;&lt;P&gt;And I don't want to create a second SELECT-statement for the second chart because I want to use only one data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example: C1 = country, C2 = salesperson, C3 = sales of product&lt;/P&gt;&lt;P&gt;In the tow charts should be displayed the data of the same country and salesman, but of two different products&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give me some hints ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 11:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-line-charts-with-one-dimension/m-p/437855#M1160917</guid>
      <dc:creator>dieter_staufenb</dc:creator>
      <dc:date>2012-12-14T11:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Two line charts with one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Two-line-charts-with-one-dimension/m-p/437856#M1160918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dexter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like you are trying to compare (say) two different products against the same set of dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be best achieved using Comparative Analysis feature in QlikView. Check out a similar implementation in "What's New in QlikView 11" document - if you are using QlikView 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you can just create two set analysis expressions for two products and use them in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product 1 expression could be,:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;Product={'Product1'}&amp;gt;}Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product 2 expression could be,:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;Product={'Product2'}&amp;gt;}Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Khaled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2012 19:26:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-line-charts-with-one-dimension/m-p/437856#M1160918</guid>
      <dc:creator />
      <dc:date>2012-12-14T19:26:09Z</dc:date>
    </item>
  </channel>
</rss>

