<?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: Sum with conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789552#M279213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your qvw and the expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 11:59:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-25T11:59:04Z</dc:date>
    <item>
      <title>Sum with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789549#M279210</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;I have a problem with sum in pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a condition to convert all other currency in USD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF([Currency of Agreement]='UAH', Bench*Sum([Base Salary, Gross]/vUSDrate),if([Currency of Agreement]='PLN', Bench*Sum([Base Salary, Gross]/vPLNrate),Bench*sum([Base Salary, Gross])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesnt sum properly, anyone can point out my mistake here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789549#M279210</guid>
      <dc:creator />
      <dc:date>2015-03-25T11:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789550#M279211</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;IF([Currency of Agreement]='UAH', (Bench*Sum([Base Salary, Gross]))/vUSDrate,if([Currency of Agreement]='PLN', (Bench*Sum([Base Salary, Gross]))/vPLNrate,Bench*sum([Base Salary, Gross])))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789550#M279211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T11:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789551#M279212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it doesnt sum properly,the numbers are too huge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789551#M279212</guid>
      <dc:creator />
      <dc:date>2015-03-25T11:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789552#M279213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your qvw and the expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789552#M279213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-25T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789553#M279214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved the problem with: IF([Currency of Agreement]='UAH', Sum([Base Salary, Gross]/vUSDrate *Bench),if([Currency of Agreement]='PLN', Sum([Base Salary, Gross]/vPLNrate*Bench),Sum([Base Salary, Gross]*(Bench))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-with-conditions/m-p/789553#M279214</guid>
      <dc:creator />
      <dc:date>2015-03-25T11:59:51Z</dc:date>
    </item>
  </channel>
</rss>

