<?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 Conditional set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-set-analysis/m-p/658640#M1076067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, per the screenshot below, I wanted to calculate a compounded growth rate for 3 years based on quarters. Let's say user selects Qtr 20131 all the way to 20143. the formula that i use is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=pow(sum({$} Total_Sales)/Sum({$&amp;lt;QuarterID = {"&amp;gt;=$(=Min(QuarterID) - 12)&amp;lt;=$(=Max(QuarterID) - 12)"}, Fiscal_Year =, Fiscal_Qtr = &amp;gt;} Total_Sales),(1/3))-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, it is only calculating it by quarter for example for 20143, it is taking ((1,000 / 0)^(1/3))-1 which gives me error. and so on... What i wanted is to take current sales for the quarter selected by user and compare that to sales at 12 quarters back (in QuarterID) to get the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this doable? Can someone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/63192_pastedImage_1.png" style="width: 620px; height: 247px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Jul 2014 20:34:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-26T20:34:30Z</dc:date>
    <item>
      <title>Conditional set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-set-analysis/m-p/658640#M1076067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, per the screenshot below, I wanted to calculate a compounded growth rate for 3 years based on quarters. Let's say user selects Qtr 20131 all the way to 20143. the formula that i use is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=pow(sum({$} Total_Sales)/Sum({$&amp;lt;QuarterID = {"&amp;gt;=$(=Min(QuarterID) - 12)&amp;lt;=$(=Max(QuarterID) - 12)"}, Fiscal_Year =, Fiscal_Qtr = &amp;gt;} Total_Sales),(1/3))-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, it is only calculating it by quarter for example for 20143, it is taking ((1,000 / 0)^(1/3))-1 which gives me error. and so on... What i wanted is to take current sales for the quarter selected by user and compare that to sales at 12 quarters back (in QuarterID) to get the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this doable? Can someone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/63192_pastedImage_1.png" style="width: 620px; height: 247px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 20:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-set-analysis/m-p/658640#M1076067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-26T20:34:30Z</dc:date>
    </item>
  </channel>
</rss>

