<?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 Issue with previous month and date formatting and math in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-and-date-formatting-and-math/m-p/176751#M44622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea why the following occurs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1 (works):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Time.Month ID] ={$(=Date(Max([Order.Receive Date]), 'YYYYMM'))}&amp;gt;} [Order.Request Value]) --returns 201008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2 (doesn't work: trying to figure out sntax to return 201007):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Time.Month ID] ={$(=Date(Max([Order.Receive Date]), 'YYYYMM')-1)}&amp;gt;} [Order.Request Value]) -returns 40394&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Aug 2010 22:24:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-26T22:24:34Z</dc:date>
    <item>
      <title>Issue with previous month and date formatting and math</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-and-date-formatting-and-math/m-p/176751#M44622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea why the following occurs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1 (works):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Time.Month ID] ={$(=Date(Max([Order.Receive Date]), 'YYYYMM'))}&amp;gt;} [Order.Request Value]) --returns 201008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression 2 (doesn't work: trying to figure out sntax to return 201007):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Time.Month ID] ={$(=Date(Max([Order.Receive Date]), 'YYYYMM')-1)}&amp;gt;} [Order.Request Value]) -returns 40394&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 22:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-and-date-formatting-and-math/m-p/176751#M44622</guid>
      <dc:creator />
      <dc:date>2010-08-26T22:24:34Z</dc:date>
    </item>
    <item>
      <title>Issue with previous month and date formatting and math</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-and-date-formatting-and-math/m-p/176752#M44623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried in another way to get the required o/p&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;STRONG&gt;Date&lt;/STRONG&gt;(AddMonths((TODAY()),0),'YYYYMM') IT returns 201008&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Date(AddMonths((TODAY()),-1),'YYYYMM') It RETURNS 201007&lt;/P&gt;&lt;P&gt;I think u need to implement the same sort of logic to get the desired output in your case..&lt;/P&gt;&lt;P&gt;Check in this way Hope it works...........&lt;/P&gt;&lt;P&gt;Cheers&lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 07:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-previous-month-and-date-formatting-and-math/m-p/176752#M44623</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2010-08-27T07:33:24Z</dc:date>
    </item>
  </channel>
</rss>

