<?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 One year Sales calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/One-year-Sales-calculation/m-p/967757#M968147</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;I want to show the data for Sales from today to last year(today-365).&lt;/P&gt;&lt;P&gt;Sales should consider Sales for each Trans_ID where Flag='Y'.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;First Transaction_Date for Trans_ID=1242 is&lt;SPAN style="color: #0000ff;"&gt; 01/Jan/2014&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I need to consider only from &lt;SPAN style="color: #0000ff;"&gt;30/Sep/2014&lt;/SPAN&gt; to&lt;SPAN style="color: #0000ff;"&gt; 30/Sep/2015 as I am running today&lt;/SPAN&gt;.Remaining Sales should be excluded.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Flag={'Y'},Year=, Quarter=, Month=,Transaction_Date={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vMaxDate)'}&amp;gt;}&amp;nbsp; Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;vStartDate=date(today()-365,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;vMaxDate=date(today(),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;But it is not working. Please help me. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 08:57:49 GMT</pubDate>
    <dc:creator>qlikviewwizard</dc:creator>
    <dc:date>2015-09-30T08:57:49Z</dc:date>
    <item>
      <title>One year Sales calculation</title>
      <link>https://community.qlik.com/t5/QlikView/One-year-Sales-calculation/m-p/967757#M968147</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;I want to show the data for Sales from today to last year(today-365).&lt;/P&gt;&lt;P&gt;Sales should consider Sales for each Trans_ID where Flag='Y'.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;First Transaction_Date for Trans_ID=1242 is&lt;SPAN style="color: #0000ff;"&gt; 01/Jan/2014&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I need to consider only from &lt;SPAN style="color: #0000ff;"&gt;30/Sep/2014&lt;/SPAN&gt; to&lt;SPAN style="color: #0000ff;"&gt; 30/Sep/2015 as I am running today&lt;/SPAN&gt;.Remaining Sales should be excluded.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;Flag={'Y'},Year=, Quarter=, Month=,Transaction_Date={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vMaxDate)'}&amp;gt;}&amp;nbsp; Sales)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;vStartDate=date(today()-365,'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;vMaxDate=date(today(),'MM/DD/YYYY')&lt;/P&gt;&lt;P&gt;But it is not working. Please help me. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 08:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-year-Sales-calculation/m-p/967757#M968147</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-09-30T08:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: One year Sales calculation</title>
      <link>https://community.qlik.com/t5/QlikView/One-year-Sales-calculation/m-p/967758#M968148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change both the variables date formats to 'DD/MM/YYYY', like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;=date(today(),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;=date(today()-365,'DD/MM/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 09:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/One-year-Sales-calculation/m-p/967758#M968148</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-30T09:04:08Z</dc:date>
    </item>
  </channel>
</rss>

