<?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 Another Date Set Analysis question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195327#M55869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to do something apparently very simple which is a value from a previous month, but I just can't get it. I've tried with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Date={'$(=Addmonths(Date,-1))'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;but it doesn't work. Can anyone point out what's wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 04:24:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-23T04:24:33Z</dc:date>
    <item>
      <title>Another Date Set Analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195327#M55869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to do something apparently very simple which is a value from a previous month, but I just can't get it. I've tried with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Date={'$(=Addmonths(Date,-1))'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;but it doesn't work. Can anyone point out what's wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 04:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195327#M55869</guid>
      <dc:creator />
      <dc:date>2009-09-23T04:24:33Z</dc:date>
    </item>
    <item>
      <title>Another Date Set Analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195328#M55870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your Set Analsysis is requiring the Date to be one month less than itself. I think that will always be the empty set.&lt;/P&gt;&lt;P&gt;I used this (with a variable in the AddMonths) and it worked:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt;Date = {'$(=AddMonths('$(=vDate)', -1))'}&amp;gt;}Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Remember, you can see what you dollar sign expansion evaluates to be placing the expression in a straight table and not using a label. If you expand out that column, you will see your Set Analysis expression with the dollar sign expansion evaluated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 04:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195328#M55870</guid>
      <dc:creator />
      <dc:date>2009-09-23T04:41:14Z</dc:date>
    </item>
    <item>
      <title>Another Date Set Analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195329#M55871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;That would help me if the comparison date was always static, but basically what I'm attempting to do is have a pivot table with the Monthname(Date) as a dimension, and as expression the sum of Amount from the previous month. I hope that made sense &lt;IMG alt="Confused" src="http://community.qlik.com/emoticons/emotion-42.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 04:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195329#M55871</guid>
      <dc:creator />
      <dc:date>2009-09-23T04:48:45Z</dc:date>
    </item>
    <item>
      <title>Another Date Set Analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195330#M55872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I forgot to add, I've tried using below, but it's not working either..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 04:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Another-Date-Set-Analysis-question/m-p/195330#M55872</guid>
      <dc:creator />
      <dc:date>2009-09-23T04:58:31Z</dc:date>
    </item>
  </channel>
</rss>

