<?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 Problem with two variables in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500621#M1644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have problem with the use of two variables in a formula:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1) vReception= Aggr ( Sum ({&amp;lt;TYPE={&lt;SPAN style="color: #800000;"&gt;"Reception"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt; Quantity&lt;/SPAN&gt;) MonthYear, Supplier) . Per example: 25.000 kg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2) vClaim= Aggr ( Sum ({&amp;lt;TYPE={&lt;SPAN style="color: #800000;"&gt;"Claim"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt; Quantity&lt;/SPAN&gt;) MonthYear, Supplier) . Per example: 1000 kg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When I calcul in an expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;%=$(vClaim)/$(vReception) the result is only the first formul: 1000 kg instead of 1000/25000= 0,04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The result is like only use the first formul an forget to divide by the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;MonthYear&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Supplier&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Quantity&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Reception&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Claim&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 17:30:38 GMT</pubDate>
    <dc:creator>inigoelv</dc:creator>
    <dc:date>2013-10-21T17:30:38Z</dc:date>
    <item>
      <title>Problem with two variables</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500621#M1644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have problem with the use of two variables in a formula:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1) vReception= Aggr ( Sum ({&amp;lt;TYPE={&lt;SPAN style="color: #800000;"&gt;"Reception"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt; Quantity&lt;/SPAN&gt;) MonthYear, Supplier) . Per example: 25.000 kg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2) vClaim= Aggr ( Sum ({&amp;lt;TYPE={&lt;SPAN style="color: #800000;"&gt;"Claim"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt; Quantity&lt;/SPAN&gt;) MonthYear, Supplier) . Per example: 1000 kg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When I calcul in an expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;%=$(vClaim)/$(vReception) the result is only the first formul: 1000 kg instead of 1000/25000= 0,04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The result is like only use the first formul an forget to divide by the second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;MonthYear&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Supplier&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Quantity&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Reception&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Claim&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 17:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500621#M1644</guid>
      <dc:creator>inigoelv</dc:creator>
      <dc:date>2013-10-21T17:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with two variables</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500622#M1645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the attachment. It's what you want to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aurélien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 18:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500622#M1645</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2013-10-21T18:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with two variables</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500623#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer but I have an edition personal and can not open the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain it with words?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500623#M1646</guid>
      <dc:creator>inigoelv</dc:creator>
      <dc:date>2013-10-21T20:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with two variables</title>
      <link>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500624#M1647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="47936" alt="test.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/47936_test.png" style="width: 620px; height: 116px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the expression is $(vClaim) / $(vReception)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 21:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/Problem-with-two-variables/m-p/500624#M1647</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2013-10-21T21:01:30Z</dc:date>
    </item>
  </channel>
</rss>

