<?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: A subtraction of  '1' in Constructing the expressions section p.382 in QlikView 11 For Devs book in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386502#M798097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This -1 is to get the &lt;STRONG&gt;variance (&lt;/STRONG&gt;growth/degrowth&lt;STRONG&gt;) &lt;/STRONG&gt;in the percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say,&lt;/P&gt;&lt;P&gt;your last year sales was (&lt;SPAN style="font-size: 13.3333px;"&gt;CompareToPeriod&lt;/SPAN&gt;) =100&lt;/P&gt;&lt;P&gt;this year sales is (&lt;SPAN style="font-size: 13.3333px;"&gt;BasePeriod&lt;/SPAN&gt;) =110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the percentage variance you would ideally use = 110/100 &lt;STRONG&gt;- 1 &lt;/STRONG&gt;=1.1 - 1 =0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. your sales variance in percentage is 0.1*100 = 10%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 05:56:35 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-12-12T05:56:35Z</dc:date>
    <item>
      <title>A subtraction of  '1' in Constructing the expressions section p.382 in QlikView 11 For Devs book</title>
      <link>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386501#M798094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On p.382-3 it says the following,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;"...The following expressions are constructed in the following form to obtain a&lt;BR /&gt;variance percentage:&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;(BasePeriod / CompareToPeriod) &lt;STRONG&gt;– 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;• Current Year-To-Date versus the same period last year&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;(Sum({$&amp;lt;PeriodID = {"&amp;lt;=$(=Max(PeriodID))"}, Year = {"$(=Max(Year))"}, Quarter = , Month = , Period = &amp;gt; } [#&lt;BR /&gt;Departures Performed])&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN class="fontstyle4"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle2"&gt;Sum({$&amp;lt;PeriodID = {"&amp;lt;=$(=Max(PeriodID) - 12)"}, Year = {"$(=Max(Year) - 1)"}, Quarter = , Month = , Period = &amp;gt; } [#&lt;BR /&gt;Departures Performed]))&lt;BR /&gt;&lt;STRONG&gt;- 1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle2"&gt;&lt;/SPAN&gt;..."&lt;/P&gt;&lt;P&gt; I do not understand why '1' is subtracted if the comparison % can just be calculated via "&lt;SPAN class="fontstyle0"&gt;(BasePeriod / CompareToPeriod)&lt;/SPAN&gt; ".&lt;/P&gt;&lt;P&gt;Please let me know what this subtraction is meant to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386501#M798094</guid>
      <dc:creator>happyjoshua777</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: A subtraction of  '1' in Constructing the expressions section p.382 in QlikView 11 For Devs book</title>
      <link>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386502#M798097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This -1 is to get the &lt;STRONG&gt;variance (&lt;/STRONG&gt;growth/degrowth&lt;STRONG&gt;) &lt;/STRONG&gt;in the percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say,&lt;/P&gt;&lt;P&gt;your last year sales was (&lt;SPAN style="font-size: 13.3333px;"&gt;CompareToPeriod&lt;/SPAN&gt;) =100&lt;/P&gt;&lt;P&gt;this year sales is (&lt;SPAN style="font-size: 13.3333px;"&gt;BasePeriod&lt;/SPAN&gt;) =110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the percentage variance you would ideally use = 110/100 &lt;STRONG&gt;- 1 &lt;/STRONG&gt;=1.1 - 1 =0.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. your sales variance in percentage is 0.1*100 = 10%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386502#M798097</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-12T05:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: A subtraction of  '1' in Constructing the expressions section p.382 in QlikView 11 For Devs book</title>
      <link>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386503#M798100</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;That is telling you the percentage that BasePeriod (B) has changed from ComparePeriod (C).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say C = 10 and B = 8. The variance for B from C is 20%,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the same as:&lt;/P&gt;&lt;P&gt;(8 - 10)/10 = -0.2 = -20%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the same as:&lt;/P&gt;&lt;P&gt;8/10 -1 = 0.8 - 1 = -0.2 = -20%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 05:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/A-subtraction-of-1-in-Constructing-the-expressions-section-p-382/m-p/1386503#M798100</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-12-12T05:58:58Z</dc:date>
    </item>
  </channel>
</rss>

