<?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: Percentage difference in a combo chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279105#M103890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you have two expressions for 2010 and 2011 with those labels, I think it could be like&lt;/P&gt;&lt;P&gt;= [2011] / [2010]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or using the appropriate expressions:&lt;/P&gt;&lt;P&gt;= sum( ...) / sum(...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return the result for 2011 as percentage of 2010's result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I got your question correctly,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S:&lt;/P&gt;&lt;P&gt;Or if you are interested in the variance, you could use&lt;/P&gt;&lt;P&gt;= (1-[2011]/[2010])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set format in number to numerical and check %, don't forget to use a second axis (right) for the line graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited by swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2011 13:53:46 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-08-17T13:53:46Z</dc:date>
    <item>
      <title>Percentage difference in a combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279104#M103889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a como chart that shows values by month for 2 years. Please see the attached picture of this chart. I want to calculate the percentage difference b/w months and show this this diffence using a line. So, the first percentage would come from Jan2010 and Jan2011, then Feb2010 and Feb2011 so on and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me how to calculate this percentage difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="help.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6553_help.bmp" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 13:24:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279104#M103889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-17T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage difference in a combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279105#M103890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you have two expressions for 2010 and 2011 with those labels, I think it could be like&lt;/P&gt;&lt;P&gt;= [2011] / [2010]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or using the appropriate expressions:&lt;/P&gt;&lt;P&gt;= sum( ...) / sum(...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will return the result for 2011 as percentage of 2010's result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I got your question correctly,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S:&lt;/P&gt;&lt;P&gt;Or if you are interested in the variance, you could use&lt;/P&gt;&lt;P&gt;= (1-[2011]/[2010])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set format in number to numerical and check %, don't forget to use a second axis (right) for the line graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edited by swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 13:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279105#M103890</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-17T13:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage difference in a combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279106#M103891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, To do this oi would have a single dimension ie Month then have three expressions, the last being on the righthand axis, these being: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Year = {$(=max(Year)-1)}&amp;gt;} Sales)&lt;BR /&gt;=sum({&amp;lt;Year = {$(=max(Year))}&amp;gt;} Sales)&lt;BR /&gt;=sum({&amp;lt;Year = {$(=max(Year))}&amp;gt;} Sales)/sum({&amp;lt;Year = {$(=max(Year)-1)}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these would then be previous year, current year and % increase. respectively. I have attached an example QVW. &lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 13:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279106#M103891</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2011-08-17T13:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage difference in a combo chart</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279107#M103892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been struggling to find a solution to my question. The above is the closest type of solution I can find but does not answer it 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to calculate the % difference between any 2 different bar graph values. (IE: If I have as the above picture would suggest, say sales values per month for one single year I want to calculate the % difference between say Feb and March, March and April, etc... and display this as another series in the graph or on another graph)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this to calculate dynamically instead of defining and manipulating fields in the edit script. (IE: if the user selected Feb and April (not March), the graph would have to calculate the % difference based on these two months.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...Thanks you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 11:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-difference-in-a-combo-chart/m-p/279107#M103892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-06T11:11:31Z</dc:date>
    </item>
  </channel>
</rss>

