<?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 Quarterly Ratio Bar graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Quarterly-Ratio-Bar-graph/m-p/1575218#M442489</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a&amp;nbsp;Bar graph with ACCT_YEAR_QTR and Ratio&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fields Incurred and Paid are ITD values. Premium is MTD value.&lt;/P&gt;&lt;P&gt;Ratio= QTR Incurred + QTR Paid / QTR Premium&lt;/P&gt;&lt;P&gt;Example 1:&lt;BR /&gt;For 2019 Q3&lt;BR /&gt;QTR Incurred= 2700 - 2400 = 300 (2019/03 incurred - 2018/12 incurred)&lt;BR /&gt;QTR Paid = 4300 - 4000 = 300 (2019/03 paid - 2018/12 paid)&lt;BR /&gt;QTR Premium = 500+600+700 = 1800 (2019/01 prem+2019/02 prem+ 2019/03 prem)&lt;/P&gt;&lt;P&gt;Ratio= 600/1800= 0.33&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the qvw with sample data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 16:14:46 GMT</pubDate>
    <dc:creator>aarohipatel</dc:creator>
    <dc:date>2019-04-30T16:14:46Z</dc:date>
    <item>
      <title>Quarterly Ratio Bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Quarterly-Ratio-Bar-graph/m-p/1575218#M442489</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create a&amp;nbsp;Bar graph with ACCT_YEAR_QTR and Ratio&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fields Incurred and Paid are ITD values. Premium is MTD value.&lt;/P&gt;&lt;P&gt;Ratio= QTR Incurred + QTR Paid / QTR Premium&lt;/P&gt;&lt;P&gt;Example 1:&lt;BR /&gt;For 2019 Q3&lt;BR /&gt;QTR Incurred= 2700 - 2400 = 300 (2019/03 incurred - 2018/12 incurred)&lt;BR /&gt;QTR Paid = 4300 - 4000 = 300 (2019/03 paid - 2018/12 paid)&lt;BR /&gt;QTR Premium = 500+600+700 = 1800 (2019/01 prem+2019/02 prem+ 2019/03 prem)&lt;/P&gt;&lt;P&gt;Ratio= 600/1800= 0.33&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the qvw with sample data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 16:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quarterly-Ratio-Bar-graph/m-p/1575218#M442489</guid>
      <dc:creator>aarohipatel</dc:creator>
      <dc:date>2019-04-30T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Quarterly Ratio Bar graph</title>
      <link>https://community.qlik.com/t5/QlikView/Quarterly-Ratio-Bar-graph/m-p/1575225#M442490</link>
      <description>&lt;P&gt;New script&lt;/P&gt;&lt;P&gt;A:&lt;BR /&gt;LOAD Date#(ACCT_YEAR_MONTH, 'YYYY/MM') as ACCT_YEAR_MONTH,&lt;BR /&gt;Incurred,&lt;BR /&gt;Paid,&lt;BR /&gt;Premium;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCT_YEAR_MONTH, Incurred, Paid, Premium&lt;BR /&gt;2017/12, 1200, 2800, 100&lt;BR /&gt;2018/01, 1300, 2900, 200&lt;BR /&gt;2018/02, 1400, 3000, 300&lt;BR /&gt;2018/03, 1500, 3100, 400&lt;BR /&gt;2018/04, 1600, 3200, 500&lt;BR /&gt;2018/05, 1700, 3300, 600&lt;BR /&gt;2018/06, 1800, 3400, 700&lt;BR /&gt;2018/07, 1900, 3500, 800&lt;BR /&gt;2018/08, 2000, 3600, 900&lt;BR /&gt;2018/09, 2100, 3700, 100&lt;BR /&gt;2018/10, 2200, 3800, 200&lt;BR /&gt;2018/11, 2300, 3900, 300&lt;BR /&gt;2018/12, 2400, 4000, 400&lt;BR /&gt;2019/01, 2500, 4100, 500&lt;BR /&gt;2019/02, 2600, 4200, 600&lt;BR /&gt;2019/03, 2700, 4300, 700&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;FinalA:&lt;BR /&gt;LOAD *,&lt;BR /&gt;Incurred - Alt(Peek('Incurred'), 0) as Incurred_NoCummulative,&lt;BR /&gt;Paid - Alt(Peek('Paid'), 0) as Paid_NoCummulative,&lt;BR /&gt;Premium - Alt(Peek('Premium'), 0) as Premium_NoCummulative,&lt;BR /&gt;Year(ACCT_YEAR_MONTH) &amp;amp; '/Q' &amp;amp; Ceil(Month(ACCT_YEAR_MONTH)/3) as ACCT_YEAR_QUARTER&lt;BR /&gt;Resident A;&lt;/P&gt;&lt;P&gt;DROP Table A;&lt;/P&gt;&lt;P&gt;expression&lt;/P&gt;&lt;P&gt;(Sum(Incurred_NoCummulative) + Sum(Paid_NoCummulative))/Sum(Premium)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 16:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quarterly-Ratio-Bar-graph/m-p/1575225#M442490</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-30T16:19:11Z</dc:date>
    </item>
  </channel>
</rss>

