<?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 Re: Previous month set analysis help please... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107816#M898076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Perhaps like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;[Year]=,Mnth,[Month]=,[Date]={"&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=$(=Date(MonthStart(Max([Date]),-1), 'DD/MM/YYYY'))&lt;/SPAN&gt;&amp;lt;=$(=Date(AddMonths(Max([Date]),-1), 'DD/MM/YYYY'))"},[Channel]={"Agg"},[Product]={"Motor"},[Sub-Channel]={"*"}&amp;gt;}[Quoted])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2016 15:23:52 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-07-20T15:23:52Z</dc:date>
    <item>
      <title>Previous month set analysis help please...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107815#M898075</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;I have an expression which works fine for the selected Month to Date however I cannot ssem to get the syntax correct to replicate it for the previous Month to date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current working MTD expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Year]={"$(=Year(Max([Date])))"},[Mnth]={"$(=Month(Max([Date])))"},[Date]={"&amp;lt;=$(=Date(Max([Date]), 'DD/MM/YYYY'))"},[Channel]={"Agg"},[Product]={"Motor"},[Sub-Channel]={"*"}&amp;gt;}[Quoted])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Mnth] is month name eg. Jan, Feb....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot seem to get it to work for the previous month to date based on the date selection and think that it is something to do with the formatting of the result into 'MMM' that I can't seem to get right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have [Month] as month number (1-12)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using [Month] and applying a -1 to the formula but to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks in anticipation of your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107815#M898075</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month set analysis help please...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107816#M898076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Perhaps like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;[Year]=,Mnth,[Month]=,[Date]={"&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=$(=Date(MonthStart(Max([Date]),-1), 'DD/MM/YYYY'))&lt;/SPAN&gt;&amp;lt;=$(=Date(AddMonths(Max([Date]),-1), 'DD/MM/YYYY'))"},[Channel]={"Agg"},[Product]={"Motor"},[Sub-Channel]={"*"}&amp;gt;}[Quoted])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107816#M898076</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-07-20T15:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Previous month set analysis help please...</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107817#M898077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's Great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 09:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-set-analysis-help-please/m-p/1107817#M898077</guid>
      <dc:creator />
      <dc:date>2016-07-21T09:56:05Z</dc:date>
    </item>
  </channel>
</rss>

