<?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: pivot able subtracting collumns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141001#M752862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how I would do this correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2018 08:50:41 GMT</pubDate>
    <dc:creator>dries_clairhout</dc:creator>
    <dc:date>2018-10-29T08:50:41Z</dc:date>
    <item>
      <title>pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/140997#M752858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Dear users,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have to calculate the difference between 2 values in a pivot table.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am fairly new to qlik and could use some advice.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="dd.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216939_dd.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;"Ontvangen ST" should be subtracted by "Afgifte ST" the result shoul be in Voorraad ST.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Ontvangen ST:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;= sum({&amp;lt;DatumType={'Inkoop datum'},POrderDate={"&amp;gt;=$(=date($(vStartDate)))&amp;lt;=$(=date($(vEndDate)))"},Jaar=,Week=,Maand=&amp;gt;}ReceivedQty)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Afgifte ST:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;sum({&amp;lt;DatumType={'InvHist datum'},POrderDate={"&amp;gt;=$(=date($(vStartDate)))&amp;lt;=$(=date($(vEndDate)))"},Jaar=,Week=,Maand=&amp;gt;} Qty_Afgifte)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Can someone help me?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;"Ontvangen ST" is the recieved Qty&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;"Afgifte ST" is the exported Qty&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;"Voorraad KG" is supply qty (so it should be Recieved Qty - Exported Qty)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I looked at every previous discussion and nothing works.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please help.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in afvance&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/pivot-able-subtracting-collumns/m-p/140997#M752858</guid>
      <dc:creator>dries_clairhout</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/140998#M752859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can reference the value of another expression in the same chart simply by referring to the expression's label. So in this case you'd simply use [Ontvangen ST] - [Afgifte ST]. If that doesn't work let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/140998#M752859</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-29T08:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/140999#M752860</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;Thanks for the fast respons,&lt;/P&gt;&lt;P&gt;but I get absolutely no return when I add this expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/140999#M752860</guid>
      <dc:creator>dries_clairhout</dc:creator>
      <dc:date>2018-10-29T08:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141000#M752861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you attach your application? Would make this a lot easier to solve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141000#M752861</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-29T08:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141001#M752862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how I would do this correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141001#M752862</guid>
      <dc:creator>dries_clairhout</dc:creator>
      <dc:date>2018-10-29T08:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141002#M752863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try as simple?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;DatumType={'Inkoop datum'},POrderDate={"&amp;gt;=$(=date($(vStartDate)))&amp;lt;=$(=date($(vEndDate)))"},Jaar=,Week=,Maand=&amp;gt;}ReceivedQty) - &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;sum({&amp;lt;DatumType={'InvHist datum'},POrderDate={"&amp;gt;=$(=date($(vStartDate)))&amp;lt;=$(=date($(vEndDate)))"},Jaar=,Week=,Maand=&amp;gt;} Qty_Afgifte)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 08:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141002#M752863</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-29T08:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141003#M752864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-16454" title="https://community.qlik.com/docs/DOC-16454"&gt;https://community.qlik.com/docs/DOC-16454&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 09:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141003#M752864</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-29T09:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141004#M752865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I did have to use a + instead of -,&lt;/P&gt;&lt;P&gt;because afgite is a negative value,&lt;/P&gt;&lt;P&gt;but that works!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have an additional question,&lt;/P&gt;&lt;P&gt;I have duplicate data as you can see above (the white line no title)&lt;/P&gt;&lt;P&gt;But the data is nog the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This probably isn't an easy fix.&lt;/P&gt;&lt;P&gt;Also another question, for the calculation of KG another qlik consultant used this:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;DatumType={'Inkoop datum'},POrderDate={"&amp;gt;=$(=date($(vStartDate)))&amp;lt;=$(=date($(vEndDate)))"},Jaar=,Week=,Maand=&amp;gt;} ReceivedQty*DimA*DimB/1000000) * GSM / 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get this. and results sometimes display, but sometimes they don't any hints?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 09:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141004#M752865</guid>
      <dc:creator>dries_clairhout</dc:creator>
      <dc:date>2018-10-29T09:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141005#M752866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a bunch!! when i replaced the - with a + it worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 09:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141005#M752866</guid>
      <dc:creator>dries_clairhout</dc:creator>
      <dc:date>2018-10-29T09:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: pivot able subtracting collumns</title>
      <link>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141006#M752867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could be there is no data after multi selection for this period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;POrderDate={"&amp;gt;=$(=date($(vStartDate)))&amp;lt;=$(=date($(vEndDate)))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 09:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/pivot-able-subtracting-collumns/m-p/141006#M752867</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-29T09:59:40Z</dc:date>
    </item>
  </channel>
</rss>

