<?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 How to do Ratio Calculation in Qlik in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-Ratio-Calculation-in-Qlik/m-p/114761#M17699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to display some calculation like:&lt;/P&gt;&lt;P&gt; sum of Amount where country USA/ Sum of Amount where Country none USA based on reference ID's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Sum({&amp;lt;Country={"USA"}&amp;gt;}Amount)/Sum({&amp;lt;Country-={"USA"}&amp;gt;}Amount),[reference ID]),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Sum({&amp;lt;Country={"USA"}&amp;gt;}Amount),[Reference ID])/&lt;SPAN style="font-size: 13.3333px;"&gt;Aggr(Sum({&amp;lt;Country-={"USA"}&amp;gt;}Amount),[Reference ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i have written both the Expressions but didn't give the results &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note: in that report apport from reference Id, Name, Country,date fields are also there&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please suggest me any good expression &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2018 07:11:46 GMT</pubDate>
    <dc:creator>narayanaqlik</dc:creator>
    <dc:date>2018-09-11T07:11:46Z</dc:date>
    <item>
      <title>How to do Ratio Calculation in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-Ratio-Calculation-in-Qlik/m-p/114761#M17699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to display some calculation like:&lt;/P&gt;&lt;P&gt; sum of Amount where country USA/ Sum of Amount where Country none USA based on reference ID's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Sum({&amp;lt;Country={"USA"}&amp;gt;}Amount)/Sum({&amp;lt;Country-={"USA"}&amp;gt;}Amount),[reference ID]),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Sum({&amp;lt;Country={"USA"}&amp;gt;}Amount),[Reference ID])/&lt;SPAN style="font-size: 13.3333px;"&gt;Aggr(Sum({&amp;lt;Country-={"USA"}&amp;gt;}Amount),[Reference ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i have written both the Expressions but didn't give the results &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note: in that report apport from reference Id, Name, Country,date fields are also there&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please suggest me any good expression &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 07:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-Ratio-Calculation-in-Qlik/m-p/114761#M17699</guid>
      <dc:creator>narayanaqlik</dc:creator>
      <dc:date>2018-09-11T07:11:46Z</dc:date>
    </item>
  </channel>
</rss>

