<?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: How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985963#M643110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(sum(STK_CLOSE) &amp;gt; 0 and sum(STK_OPEN) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(Only({&amp;lt;year = {$(=max(year)-1)}&amp;gt;}Aggr(Sum({&amp;lt;month, year&amp;gt;}TOTAL &amp;lt;year&amp;gt; If([YearMonth] = YearStart([YearMonth]), STK_OPEN)), [YearMonth], year)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;month, year, YearMonth = {"$(=Dual(Date(YearEnd(AddYears(Monthstart(Max({&amp;lt;STK_CLOSE = {'*?'}&amp;gt;}YearMonth)), -1)), 'YY MMM'), MonthStart(YearEnd(AddYears(Max({&amp;lt;STK_CLOSE = {'*?'}&amp;gt;}YearMonth), -1)))))"}&amp;gt;}STK_CLOSE)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(sum(STK_CLOSE) &amp;gt; 0 and sum(STK_OPEN) &amp;gt; 0, RangeSum(Above(Sum({$&amp;lt;year = {$(=max(year)-1)}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (COGS+COGS_INT_)/1), 0, RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Dec 2015 22:44:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-12-25T22:44:18Z</dc:date>
    <item>
      <title>How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985962#M643109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i select 2015 Table 1 display 0.354&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i select 2014 Table 1 display 0.235&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Dec 2015 15:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985962#M643109</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-12-25T15:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985963#M643110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(sum(STK_CLOSE) &amp;gt; 0 and sum(STK_OPEN) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeAvg(Only({&amp;lt;year = {$(=max(year)-1)}&amp;gt;}Aggr(Sum({&amp;lt;month, year&amp;gt;}TOTAL &amp;lt;year&amp;gt; If([YearMonth] = YearStart([YearMonth]), STK_OPEN)), [YearMonth], year)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;month, year, YearMonth = {"$(=Dual(Date(YearEnd(AddYears(Monthstart(Max({&amp;lt;STK_CLOSE = {'*?'}&amp;gt;}YearMonth)), -1)), 'YY MMM'), MonthStart(YearEnd(AddYears(Max({&amp;lt;STK_CLOSE = {'*?'}&amp;gt;}YearMonth), -1)))))"}&amp;gt;}STK_CLOSE)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(sum(STK_CLOSE) &amp;gt; 0 and sum(STK_OPEN) &amp;gt; 0, RangeSum(Above(Sum({$&amp;lt;year = {$(=max(year)-1)}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (COGS+COGS_INT_)/1), 0, RowNo())))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Dec 2015 22:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985963#M643110</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-25T22:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985964#M643111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wow , i am impress with your understanding of SET analysis. Thank you very much it finally work . By the way may i know you from which country ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Dec 2015 00:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985964#M643111</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-12-26T00:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985965#M643112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working in the US, but I am originally from India. What about you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Dec 2015 00:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985965#M643112</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-26T00:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Table 2 Ratio LY display 0.235 when i select year = 2015 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985966#M643113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very respect the India mind. Very powerful. I am from singapore . Hope to see you one day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Dec 2015 02:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-Table-2-Ratio-LY-display-0-235-when-i-select-year/m-p/985966#M643113</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-12-26T02:07:04Z</dc:date>
    </item>
  </channel>
</rss>

