<?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: Comparison of values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165760#M379530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try this:&lt;/P&gt;&lt;P&gt;column(1) - column(2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Jun 2016 11:10:04 GMT</pubDate>
    <dc:creator>oknotsen</dc:creator>
    <dc:date>2016-06-12T11:10:04Z</dc:date>
    <item>
      <title>Comparison of values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165759#M379529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day, team!&lt;/P&gt;&lt;P&gt;Help me somebody&lt;/P&gt;&lt;P&gt;What method can be used to compare values obtained by the example in Table:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;&lt;IMG __jive_id="127490" alt="1d5502bf696944a48933bf56aed3987c.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127490_1d5502bf696944a48933bf56aed3987c.png" style="height: 217px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;dimensions:&amp;nbsp; Year, CompanyName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;expression- sum of sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Need to get the difference of sales amounts for each related period (example: difference between 2008 and 2007; 2009 and 2008 etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an idea to build a table with several expressions:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;=Sum({&amp;lt;Year={2007}&amp;gt;}LinesalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; line-height: 1.5em; background-color: #f9f9f9;"&gt;Sum({&amp;lt;Year={2008}&amp;gt;}LinesalesAmount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; line-height: 1.5em; background-color: #f9f9f9;"&gt;=&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;Sum({&amp;lt;Year={2008}&amp;gt;}LinesalesAmount) - &lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;Sum({&amp;lt;Year={2008}&amp;gt;}LinesalesAmount) // difference&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; line-height: 1.5em; background-color: #f9f9f9;"&gt;etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; line-height: 1.5em; background-color: #f9f9f9;"&gt;But it seems that the decision irrational because with a large variety of Year - to be a lot of routine work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 12.48px; background-color: #f9f9f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 05:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165759#M379529</guid>
      <dc:creator>vkozlov</dc:creator>
      <dc:date>2016-06-10T05:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison of values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165760#M379530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try this:&lt;/P&gt;&lt;P&gt;column(1) - column(2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 11:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165760#M379530</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-06-12T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison of values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165761#M379531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try this one:&lt;/P&gt;&lt;P&gt;sum(Value)-Before(sum(Value))&lt;/P&gt;&lt;P&gt;Athough it will work only if Year will be in the columns headers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 11:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165761#M379531</guid>
      <dc:creator />
      <dc:date>2016-06-12T11:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison of values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165762#M379532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;It works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 11:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison-of-values/m-p/1165762#M379532</guid>
      <dc:creator>vkozlov</dc:creator>
      <dc:date>2016-06-12T11:35:44Z</dc:date>
    </item>
  </channel>
</rss>

