<?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 Set Analysis Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210272#M503381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my fiscal calendar table, I have a column called QtrIndex that sequentially numbers each fiscal quarter. In my expression, I would like to evaluate both current quarter and prior quarter's sales to get the overall change. However, I'm having trouble writing the expression to sum the previous quarter's sales. Can someone help with the correct expression. This didn't work and I'm not sure why:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;QtrIndex = {$(QtrIndex-1)} &amp;gt;} POSAmt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 05:50:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-12T05:50:45Z</dc:date>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210272#M503381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my fiscal calendar table, I have a column called QtrIndex that sequentially numbers each fiscal quarter. In my expression, I would like to evaluate both current quarter and prior quarter's sales to get the overall change. However, I'm having trouble writing the expression to sum the previous quarter's sales. Can someone help with the correct expression. This didn't work and I'm not sure why:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;QtrIndex = {$(QtrIndex-1)} &amp;gt;} POSAmt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 05:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210272#M503381</guid>
      <dc:creator />
      <dc:date>2010-04-12T05:50:45Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210273#M503382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;QtrIndex = {$(QtrIndex)-1} &amp;gt;} POSAmt).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 06:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210273#M503382</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2010-04-12T06:36:28Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210274#M503383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That gave me a syntax error. I tried the following, and it didn't work either:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;QtrIndex={$(=QtrIndex-1)}&amp;gt;}POSAmt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 06:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210274#M503383</guid>
      <dc:creator />
      <dc:date>2010-04-12T06:52:20Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210275#M503384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using below formulae.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;QtrIndex= {$(=Max(QtrIndex)-1)}&amp;gt;} POSAmt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210275#M503384</guid>
      <dc:creator />
      <dc:date>2010-04-12T07:01:23Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210276#M503385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but this formula will only work for the most current Quarter. I'm performing the calculation for all quarters to get the change in growth, as follows: (ThisQuarterSales / PriorQuarterSales) - 1. So, I cannot use a max function here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 07:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210276#M503385</guid>
      <dc:creator />
      <dc:date>2010-04-12T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210277#M503386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it will work for the Quarter which is selected, in Case there are no selections in calendar table it will return most current quarter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 10:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/210277#M503386</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-12T10:17:07Z</dc:date>
    </item>
  </channel>
</rss>

