<?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 Calculate percentage increase in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-percentage-increase/m-p/1767916#M454403</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a straight chart showing the number of discharges as a percentage over the whole week;&lt;/P&gt;&lt;P&gt;The Expressions I've used so far are these:&lt;/P&gt;&lt;P&gt;Jun 2019 - "&lt;STRONG&gt;Sum({&amp;lt;Sheet_name={'Wansbeck'},MonthYear={'Jun 2019'}&amp;gt;}[Total WGH Medical])&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Jun 2020 - "&lt;STRONG&gt;Sum({&amp;lt;Sheet_name={'Wansbeck'},MonthYear={'Jun 2020'}&amp;gt;}[Total WGH Medical])&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Both have the "&lt;STRONG&gt;Relative&lt;/STRONG&gt;" box ticked&lt;/P&gt;&lt;P&gt;Difference between Jun 2019 &amp;amp; Jun 2020 - "&lt;STRONG&gt;Column(2) - Column(1)&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Percentage increase - "&lt;STRONG&gt;Column(3) / Column(1)&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;However the maths doesn't work.&lt;/P&gt;&lt;P&gt;The difference column should show "&lt;STRONG&gt;-6.56%&lt;/STRONG&gt;" and the percentage increase would show "&lt;STRONG&gt;-38%&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Obvously i've got something wrong in the expression - can anyone help.&lt;/P&gt;&lt;P&gt;I'm wanting to recreate the Excel picture in QlikView.&lt;/P&gt;&lt;P&gt;Excel -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Excel View.jpg" style="width: 825px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45564i7FD02372FA13EE98/image-size/large?v=v2&amp;amp;px=999" role="button" title="Excel View.jpg" alt="Excel View.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;QlikView -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikView View.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45566iAD6A8E878E01685C/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikView View.jpg" alt="QlikView View.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 12:22:23 GMT</pubDate>
    <dc:creator>peterderrington</dc:creator>
    <dc:date>2020-12-11T12:22:23Z</dc:date>
    <item>
      <title>Calculate percentage increase</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-percentage-increase/m-p/1767916#M454403</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a straight chart showing the number of discharges as a percentage over the whole week;&lt;/P&gt;&lt;P&gt;The Expressions I've used so far are these:&lt;/P&gt;&lt;P&gt;Jun 2019 - "&lt;STRONG&gt;Sum({&amp;lt;Sheet_name={'Wansbeck'},MonthYear={'Jun 2019'}&amp;gt;}[Total WGH Medical])&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Jun 2020 - "&lt;STRONG&gt;Sum({&amp;lt;Sheet_name={'Wansbeck'},MonthYear={'Jun 2020'}&amp;gt;}[Total WGH Medical])&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Both have the "&lt;STRONG&gt;Relative&lt;/STRONG&gt;" box ticked&lt;/P&gt;&lt;P&gt;Difference between Jun 2019 &amp;amp; Jun 2020 - "&lt;STRONG&gt;Column(2) - Column(1)&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Percentage increase - "&lt;STRONG&gt;Column(3) / Column(1)&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;However the maths doesn't work.&lt;/P&gt;&lt;P&gt;The difference column should show "&lt;STRONG&gt;-6.56%&lt;/STRONG&gt;" and the percentage increase would show "&lt;STRONG&gt;-38%&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Obvously i've got something wrong in the expression - can anyone help.&lt;/P&gt;&lt;P&gt;I'm wanting to recreate the Excel picture in QlikView.&lt;/P&gt;&lt;P&gt;Excel -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Excel View.jpg" style="width: 825px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45564i7FD02372FA13EE98/image-size/large?v=v2&amp;amp;px=999" role="button" title="Excel View.jpg" alt="Excel View.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;QlikView -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikView View.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45566iAD6A8E878E01685C/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikView View.jpg" alt="QlikView View.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 12:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-percentage-increase/m-p/1767916#M454403</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-12-11T12:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate percentage increase</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-percentage-increase/m-p/1768018#M454412</link>
      <description>&lt;P&gt;I think the problem is caused by applying math to columns that have the "Relative" setting. I don't think these two things work well together. In order to be able to use these columns in other expressions, I'd recommend replacing the "Relative" settings with a manual calculations of the same - something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum(Value)/sum(Total Value)&lt;/P&gt;&lt;P&gt;Then I'd expect to see correct math between the columns.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 16:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-percentage-increase/m-p/1768018#M454412</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2020-12-11T16:21:15Z</dc:date>
    </item>
  </channel>
</rss>

