<?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 Rolling 12 expression gives zero in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-12-expression-gives-zero/m-p/1276069#M400816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Experts,&lt;/P&gt;&lt;P&gt;I have the following scenario for rolling 12 calculation for which I am getting zero as result. Please help me in identifying the gap in my expression. I have referred many threads and re-aligned my expression , but no luck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qvd with a non-date column which I have converted to date in load script(Refer attached sample app) . I have some other QVDs which have date columns itself for which my rolling 12 expression works fine. So while using similar expression to calculate rolling 12 , I am getting 0 as result. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jamy. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 13:40:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-16T13:40:11Z</dc:date>
    <item>
      <title>Rolling 12 expression gives zero</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-expression-gives-zero/m-p/1276069#M400816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Experts,&lt;/P&gt;&lt;P&gt;I have the following scenario for rolling 12 calculation for which I am getting zero as result. Please help me in identifying the gap in my expression. I have referred many threads and re-aligned my expression , but no luck &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a qvd with a non-date column which I have converted to date in load script(Refer attached sample app) . I have some other QVDs which have date columns itself for which my rolling 12 expression works fine. So while using similar expression to calculate rolling 12 , I am getting 0 as result. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jamy. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 13:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-expression-gives-zero/m-p/1276069#M400816</guid>
      <dc:creator />
      <dc:date>2016-12-16T13:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12 expression gives zero</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-12-expression-gives-zero/m-p/1276070#M400817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;&amp;nbsp; Num(Sum({&amp;lt;SpendPeriod ={"$(='&amp;gt;' &amp;amp; Date(AddMonths(Max(SpendPeriod), -12), 'YYYYMM') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(SpendPeriod), 'YYYYMM'))"}&amp;gt;} SpendInvoiceAmount) ,'### ### ### ### ##0,00', ',', ' ') &amp;amp; ' €'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Sum({&amp;lt; SpendPeriod ={"$(='&amp;gt;' &amp;amp; Date(AddMonths(Max(SpendPeriod), -12), 'YYYYMM') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(SpendPeriod), 'YYYYMM'))"} &amp;gt;} SpendPOValue) ,'### ### ### ### ##0,00', ',', ' ') &amp;amp; ' €'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 14:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-12-expression-gives-zero/m-p/1276070#M400817</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-16T14:12:42Z</dc:date>
    </item>
  </channel>
</rss>

