<?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 from 2 columns in horizontal straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172217#M380905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(RapportCat='Begroting',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; sum({&amp;lt;PrognoseVersie={'$(vPrognoseVersie)'}&amp;gt;}Bedrijfskosten),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; if(RapportCat='Verschil'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;sum(TOTAL &amp;lt;RapportPeriode&amp;gt;{&amp;lt;RapportCat = {'Resultaat', 'Prognose'}&amp;gt;}Bedrijfskosten)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;PrognoseVersie={'$(vPrognoseVersie)'}&amp;gt;}Bedrijfskosten)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Bedrijfskosten)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126255_Capture.PNG" style="height: 196px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 15:16:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-30T15:16:03Z</dc:date>
    <item>
      <title>Difference from 2 columns in horizontal straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172214#M380902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you help me out on this challenge. Attached is a QlikView document with a horzizontal straight table.&amp;nbsp; Now column 3 should show the difference between the 1st and second but I can't get it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct numbers are in the excel screendump, shown in a text object.&lt;/P&gt;&lt;P&gt;I know the datamodel is worse, but the customer begged me for a solution in the expressions of the graphs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172214#M380902</guid>
      <dc:creator>bartvanwetten</dc:creator>
      <dc:date>2016-05-30T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difference from 2 columns in horizontal straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172215#M380903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this &lt;A href="https://community.qlik.com/thread/217070"&gt;show totals but suppress values in pivot table&lt;/A&gt; aproach by &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172215#M380903</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-05-30T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difference from 2 columns in horizontal straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172216#M380904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply but that gives me totals, not the difference.&lt;/P&gt;&lt;P&gt;But again, thx for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172216#M380904</guid>
      <dc:creator>bartvanwetten</dc:creator>
      <dc:date>2016-05-30T15:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference from 2 columns in horizontal straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172217#M380905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(RapportCat='Begroting',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; sum({&amp;lt;PrognoseVersie={'$(vPrognoseVersie)'}&amp;gt;}Bedrijfskosten),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; if(RapportCat='Verschil'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;sum(TOTAL &amp;lt;RapportPeriode&amp;gt;{&amp;lt;RapportCat = {'Resultaat', 'Prognose'}&amp;gt;}Bedrijfskosten)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;PrognoseVersie={'$(vPrognoseVersie)'}&amp;gt;}Bedrijfskosten)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Bedrijfskosten)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126255_Capture.PNG" style="height: 196px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172217#M380905</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-30T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Difference from 2 columns in horizontal straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172218#M380906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you made my day...AGAIN! &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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172218#M380906</guid>
      <dc:creator>bartvanwetten</dc:creator>
      <dc:date>2016-05-30T15:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference from 2 columns in horizontal straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172219#M380907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just change the Total Expression to be a difference one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-from-2-columns-in-horizontal-straight-table/m-p/1172219#M380907</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-05-30T15:20:58Z</dc:date>
    </item>
  </channel>
</rss>

