<?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 How to calculate previous month ignoring other selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-month-ignoring-other-selection/m-p/1377177#M817665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am calculating previous month &lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;date(AddMonths(date#(max([Months Number]),'YYYYMM'),-1),'YYYYMM')&lt;/SPAN&gt; by using this formula for calculating previous month sales.&lt;/P&gt;&lt;P&gt;But when I am choosing any Rep id then the previous month calculation is going changed as per the rep id selection.&lt;/P&gt;&lt;P&gt;How to keep it fixed? Means I want the previous month is always max(month number)-1 irrespective of any selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>anindya_manna</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to calculate previous month ignoring other selection</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-month-ignoring-other-selection/m-p/1377177#M817665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am calculating previous month &lt;SPAN style="color: black; font-family: 'Segoe UI',sans-serif; font-size: 10pt;"&gt;date(AddMonths(date#(max([Months Number]),'YYYYMM'),-1),'YYYYMM')&lt;/SPAN&gt; by using this formula for calculating previous month sales.&lt;/P&gt;&lt;P&gt;But when I am choosing any Rep id then the previous month calculation is going changed as per the rep id selection.&lt;/P&gt;&lt;P&gt;How to keep it fixed? Means I want the previous month is always max(month number)-1 irrespective of any selection.&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/How-to-calculate-previous-month-ignoring-other-selection/m-p/1377177#M817665</guid>
      <dc:creator>anindya_manna</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

