<?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: difference on expression in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632847#M232207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension value 1 - dimension value 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2014 16:47:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-29T16:47:01Z</dc:date>
    <item>
      <title>difference on expression in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632846#M232206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a pivot table with one dimension (two value) and several expression calculated on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to calculate the difference between the two expression on a third column...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" 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;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;dimension value 1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;dimension value 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;expression1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;expression2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;67&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you think it's possible?&lt;/P&gt;&lt;P&gt;thanks in advance, Loris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 16:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632846#M232206</guid>
      <dc:creator />
      <dc:date>2014-05-29T16:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: difference on expression in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632847#M232207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension value 1 - dimension value 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 16:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632847#M232207</guid>
      <dc:creator />
      <dc:date>2014-05-29T16:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: difference on expression in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632848#M232208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it should be a new expression "expression1 - expression2", expression1 and expression2 should be the label names!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 16:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632848#M232208</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2014-05-29T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: difference on expression in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632849#M232209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not clear about the labels i.e dimensions and expressions that you mentioned. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;We can achieve this using Before()&amp;nbsp; function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before(Sum(Field_A),1)-Before(Sum(Field_B),2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 18:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632849#M232209</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-05-29T18:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: difference on expression in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632850#M232210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I achieved the result in this way:&lt;/P&gt;&lt;P&gt;= if(IsNull(year),before($(pf_immo1),2)-Before($(pf_immo1),1),$(pf_immo1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i also have to check "show all value" in the options of year dimension&lt;/P&gt;&lt;P&gt;so when it is null it shows the difference between the two value &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe not so clear but it works!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 07:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/difference-on-expression-in-a-pivot-table/m-p/632850#M232210</guid>
      <dc:creator />
      <dc:date>2014-05-30T07:21:07Z</dc:date>
    </item>
  </channel>
</rss>

