<?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 Line chart - % between years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-chart-between-years/m-p/690350#M1077774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my problem : I want to know the percentage between all the years for one data. &lt;/P&gt;&lt;P&gt;In my pivot table, I have no problem, but when I try to put it in a line chart, there are some issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two dimensions : all the activities and the year.&amp;nbsp; (in this order)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Year&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Activity&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;sum(Prices)&lt;/TH&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Swimming pool&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Swimming pool&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Swimming pool&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dojo&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dojo &lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2.200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dojo&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2.420&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I want that my line chart has 2 lines, the first one for the swimming pool, for which in 2012, it shows +10%" and in 2013 -"10%" and for the dojo 2012:'+10%' and 2013 "+10%".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create the following expression : sum(Prices)/above(sum(Prices))-1, but it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="wrong numbers.png" class="jive-image" src="/legacyfs/online/62533_wrong numbers.png" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;P&gt;(niv_3 = activities)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I switch the dimensions ( Year - activity), it gave me the right numbers, except that the dimensions are inversed.&lt;IMG alt="good numbers.png" class="jive-image" src="/legacyfs/online/62532_good numbers.png" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please ?&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 15:47:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-16T15:47:54Z</dc:date>
    <item>
      <title>Line chart - % between years</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-between-years/m-p/690350#M1077774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my problem : I want to know the percentage between all the years for one data. &lt;/P&gt;&lt;P&gt;In my pivot table, I have no problem, but when I try to put it in a line chart, there are some issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two dimensions : all the activities and the year.&amp;nbsp; (in this order)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Year&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Activity&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;sum(Prices)&lt;/TH&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Swimming pool&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Swimming pool&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Swimming pool&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dojo&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2.000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2012&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dojo &lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2.200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Dojo&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2.420&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I want that my line chart has 2 lines, the first one for the swimming pool, for which in 2012, it shows +10%" and in 2013 -"10%" and for the dojo 2012:'+10%' and 2013 "+10%".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create the following expression : sum(Prices)/above(sum(Prices))-1, but it doesn't work. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="wrong numbers.png" class="jive-image" src="/legacyfs/online/62533_wrong numbers.png" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;P&gt;(niv_3 = activities)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I switch the dimensions ( Year - activity), it gave me the right numbers, except that the dimensions are inversed.&lt;IMG alt="good numbers.png" class="jive-image" src="/legacyfs/online/62532_good numbers.png" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me please ?&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 15:47:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-between-years/m-p/690350#M1077774</guid>
      <dc:creator />
      <dc:date>2014-07-16T15:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart - % between years</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-between-years/m-p/690351#M1077775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to up it, but does someone can help me ? Or maybe had I bad explained my problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 07:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-between-years/m-p/690351#M1077775</guid>
      <dc:creator />
      <dc:date>2014-07-17T07:08:13Z</dc:date>
    </item>
  </channel>
</rss>

