<?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 Excluding current month data in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-current-month-data-in-set-analysis/m-p/1238001#M874118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable I use to only show data from the previous month, as well as a two month lag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPreviousMonth =&amp;nbsp; "$(=Month(AddMonths(Date(Today()),-1)))" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTwoMonthLag =&amp;nbsp; "$(=Month(AddMonths(Date(Today()),-2)))" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stored in my variable overview. I changed these formulas to try to also do the most current month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCurrentMonth = "$(=Month(AddMonths(Date(Today()),-2)))" &lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;vCurrentMonth = "$(=Month(Date(Today()))))" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In set analysis I'm trying to do exclude the most current month from charts using this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month -= {$(vCurrentMonth)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not working, however when I try to just view a two month lag, or previous month data with the top formulas it seems to work, does anyone have any insight into this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>lucasdavis500</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Excluding current month data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-current-month-data-in-set-analysis/m-p/1238001#M874118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable I use to only show data from the previous month, as well as a two month lag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPreviousMonth =&amp;nbsp; "$(=Month(AddMonths(Date(Today()),-1)))" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTwoMonthLag =&amp;nbsp; "$(=Month(AddMonths(Date(Today()),-2)))" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stored in my variable overview. I changed these formulas to try to also do the most current month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCurrentMonth = "$(=Month(AddMonths(Date(Today()),-2)))" &lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;vCurrentMonth = "$(=Month(Date(Today()))))" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In set analysis I'm trying to do exclude the most current month from charts using this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month -= {$(vCurrentMonth)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not working, however when I try to just view a two month lag, or previous month data with the top formulas it seems to work, does anyone have any insight into this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&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/Excluding-current-month-data-in-set-analysis/m-p/1238001#M874118</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding current month data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-current-month-data-in-set-analysis/m-p/1238002#M874119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have one extra parenthesis in the end it seems here. Try this:&lt;/P&gt;&lt;P&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;&lt;STRONG&gt;vCurrentMonth = "$(=Month(Date(Today())))"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 14:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-current-month-data-in-set-analysis/m-p/1238002#M874119</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-11T14:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding current month data in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-current-month-data-in-set-analysis/m-p/1238003#M874120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haha... must have missed that... thanks for catching it, I was trying all different sorts of ways to go about this and couldn't seem to get it right. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 14:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-current-month-data-in-set-analysis/m-p/1238003#M874120</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-11T14:51:37Z</dc:date>
    </item>
  </channel>
</rss>

