<?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: Current Month, Previous Month ,Current Month Previous Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060884#M918591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Scotly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try using addmonths function as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;addmonth(max(FiscalMonth),-1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Chintan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 06:50:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-03T06:50:29Z</dc:date>
    <item>
      <title>Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060883#M918590</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;&lt;/P&gt;&lt;P&gt;I have requirement that I want to show line chart that should be Current Month, Previous Month ,Current Month Previous Year wise sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension: day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current month:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;type={'Order'},FiscalMonth={$(=month(max(FiscalMonth)))}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;it works fine &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ex -&amp;nbsp; F&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;iscalMonth :apr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and i have encountered error in previous month &lt;/P&gt;&lt;P&gt;previous month:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;type={'Order'},FiscalMonth={$(=month(max(FiscalMonth)-1))}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can anybody help ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060883#M918590</guid>
      <dc:creator>scotly-victor</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060884#M918591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Scotly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try using addmonths function as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;addmonth(max(FiscalMonth),-1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Chintan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 06:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060884#M918591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T06:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060885#M918592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous Month&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;type={'Order'}, Date = {"$(='&amp;lt;=' &amp;amp; Date(MonthStart(Max(Date), -1), 'YourDateFieldFormatHere') &amp;amp; '&amp;gt;=' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date(MonthEnd(Max(Date), -1), 'YourDateFieldFormatHere')&lt;/SPAN&gt;)"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PreviousYear&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Sum({&amp;lt;type={'Order'}, Date = {"$(='&amp;lt;=' &amp;amp; Date(AddYears(Max(Date), -1), 'YourDateFieldFormatHere') &amp;amp; '&amp;gt;=' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date(AddYears(Max(Date), -1), 'YourDateFieldFormatHere')&lt;/SPAN&gt;)"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work, would you be able to provide a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 08:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060885#M918592</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T08:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060886#M918593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;I hope all is well with QlikView..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;I have one Excel, In that.. In that i have fields like -- Date, Sales, Product..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;So, once i apply to Bar graph. I want to achieve in bar chart show current month, previous month, last year current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Ex:- Let's Say, if i select May - 2016 on dimension i want in bar chart like -- May - 2016 and April - 2016 and &lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;May - 2015&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Note: Please find O/P like attached Image for Reference..!&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; &lt;IMG alt="738cd762-3a83-476d-b861-3ba592c46b0a.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123359_738cd762-3a83-476d-b861-3ba592c46b0a.jpg" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 08:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060886#M918593</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-05-03T08:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060887#M918594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Scotly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to resolve your issue? You may post the expression you used, it will be useful for others facing similar issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 04:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060887#M918594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T04:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060888#M918595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinatan,&lt;/P&gt;&lt;P&gt;Issue got resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 05:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060888#M918595</guid>
      <dc:creator>scotly-victor</dc:creator>
      <dc:date>2016-05-04T05:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060889#M918596</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: 13.3333px;"&gt;try 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: 13.3333px;"&gt;&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: 13.3333px;"&gt;sum({&amp;lt;type={'Order'},FiscalMonth={$(=month(max(FiscalMonth)-1))},month=,year=&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 05:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060889#M918596</guid>
      <dc:creator>stephenedberkg</dc:creator>
      <dc:date>2016-05-04T05:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month, Previous Month ,Current Month Previous Year</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060890#M918597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post that. If possible, Please stick the Correct answer whoever gave the right way on your wall tab. Current Month -- Expression ? Last Month -- Expression ? Last Year Current Month -- Expression ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 06:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Previous-Month-Current-Month-Previous-Year/m-p/1060890#M918597</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-05-04T06:12:16Z</dc:date>
    </item>
  </channel>
</rss>

