<?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: How to calculate values between the both filed? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961465#M1220129</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/184666"&gt;@Rick21&lt;/a&gt;&amp;nbsp; Please use the below code to get the desired output. I have also attached the output Screen shot.&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Buy:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Fruit, Buy&lt;BR /&gt;Apple,10&lt;BR /&gt;Cherry,12&lt;BR /&gt;Grape,22&lt;BR /&gt;Guava,10&lt;BR /&gt;Pear,15&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Outer join (Buy)&lt;BR /&gt;Sell:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Fruit, Sell&lt;BR /&gt;Apple,8&lt;BR /&gt;Cherry,20&lt;BR /&gt;Orrange,10&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Main:&lt;BR /&gt;Load Fruit,&lt;BR /&gt;Buy-Sell as Ouptut;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Load Fruit,&lt;BR /&gt;if(isnull(Buy),0,Buy) as Buy,&lt;BR /&gt;if(isnull(Sell),0,Sell) as Sell&lt;/P&gt;
&lt;P&gt;Resident Buy;&lt;/P&gt;
&lt;P&gt;Drop table Buy;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;Please let me know in case of any concerns. If this resolves your issue please like and accept it as a solution.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 02:56:19 GMT</pubDate>
    <dc:creator>sidhiq91</dc:creator>
    <dc:date>2022-07-28T02:56:19Z</dc:date>
    <item>
      <title>How to calculate values between the both filed?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961457#M1220126</link>
      <description>&lt;P&gt;Hello There,&lt;/P&gt;
&lt;P&gt;I want to calculate the inflow and outflow.&lt;/P&gt;
&lt;P&gt;Sample data source:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rick21_0-1658974900880.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/85329i1078712D9AFDD950/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rick21_0-1658974900880.png" alt="Rick21_0-1658974900880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Should output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rick21_1-1658974916017.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/85330i41B58B3CF383831A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rick21_1-1658974916017.png" alt="Rick21_1-1658974916017.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I try to do that:&lt;/P&gt;
&lt;P&gt;if(B=A, Buy-Sell, Buy), but not working.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could somebody share with me how to do that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 02:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961457#M1220126</guid>
      <dc:creator>Rick21</dc:creator>
      <dc:date>2022-07-28T02:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate values between the both filed?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961465#M1220129</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/184666"&gt;@Rick21&lt;/a&gt;&amp;nbsp; Please use the below code to get the desired output. I have also attached the output Screen shot.&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Buy:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Fruit, Buy&lt;BR /&gt;Apple,10&lt;BR /&gt;Cherry,12&lt;BR /&gt;Grape,22&lt;BR /&gt;Guava,10&lt;BR /&gt;Pear,15&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Outer join (Buy)&lt;BR /&gt;Sell:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Fruit, Sell&lt;BR /&gt;Apple,8&lt;BR /&gt;Cherry,20&lt;BR /&gt;Orrange,10&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Main:&lt;BR /&gt;Load Fruit,&lt;BR /&gt;Buy-Sell as Ouptut;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Load Fruit,&lt;BR /&gt;if(isnull(Buy),0,Buy) as Buy,&lt;BR /&gt;if(isnull(Sell),0,Sell) as Sell&lt;/P&gt;
&lt;P&gt;Resident Buy;&lt;/P&gt;
&lt;P&gt;Drop table Buy;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;Please let me know in case of any concerns. If this resolves your issue please like and accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 02:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961465#M1220129</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-28T02:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate values between the both filed?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961543#M1220141</link>
      <description>&lt;P&gt;OK! I got it. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 07:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961543#M1220141</guid>
      <dc:creator>Rick21</dc:creator>
      <dc:date>2022-07-28T07:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate values between the both filed?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961544#M1220142</link>
      <description>&lt;P&gt;Hola Rick21&lt;/P&gt;
&lt;P&gt;Realize lo siguiente para obtener el resultado de tu imagen&lt;/P&gt;
&lt;P&gt;Inserte los datos de tu imagen a un excel y luego lo cargue a Qlik&lt;/P&gt;
&lt;P&gt;Despues utilize el siguiente script&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Buy:
LOAD
     A as %Product,
     A, 
     Buy
FROM
[..\..\..\coalesce.xlsx]
(ooxml, embedded labels, table is Hoja2);

Outer join(Buy)

Sell:
LOAD 
	B as %Product,
	 B, 
     Sell
FROM
[..\..\..\coalesce.xlsx]
(ooxml, embedded labels, table is Hoja3);

Inventory:
Load *, Coalesce(Buy -Sell,Sell*-1,Buy) as Inventory Resident Buy;
drop table Buy;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adjunto imagen con el resultado&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="luiferva_0-1658992119252.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/85350iF152BC71431DF45C/image-size/large?v=v2&amp;amp;px=999" role="button" title="luiferva_0-1658992119252.png" alt="luiferva_0-1658992119252.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Si logre ayudarte por favor regalame un like para saberlo, estoy atento a tu revisión, Feliz dia&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 07:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-values-between-the-both-filed/m-p/1961544#M1220142</guid>
      <dc:creator>luiferva</dc:creator>
      <dc:date>2022-07-28T07:10:39Z</dc:date>
    </item>
  </channel>
</rss>

