<?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 Filtering future months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359768#M1169920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi, I'm relatively new at qlikview and I've been trying to filter future months to see if there's information saved in incorrect months (ex: It's impossible to spend money in October 2012 if we're in July 2012).&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I'd like to count the number of transactions made in future months of the same year. This is the formula I've been trying to use:&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;=Count({&amp;lt;transaction_Year={"=year(Today())"},transaction_Month={"&amp;gt;month(Today())"}&amp;gt;}Transaction)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;It works fine with the year, but when I try to filter greater months (transaction_Month has a numerical value) it just doesn't &lt;A _jive_internal="true" href="https://community.qlik.com/thread/57809" id="_GPLITA_0" style="color: #007fc0;" title="Powered by Text-Enhance"&gt;work&lt;/A&gt;. I don't get an error in the expression, but the numbers are all to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I would greatly appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 07:58:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-20T07:58:19Z</dc:date>
    <item>
      <title>Filtering future months</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359768#M1169920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Hi, I'm relatively new at qlikview and I've been trying to filter future months to see if there's information saved in incorrect months (ex: It's impossible to spend money in October 2012 if we're in July 2012).&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I'd like to count the number of transactions made in future months of the same year. This is the formula I've been trying to use:&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;=Count({&amp;lt;transaction_Year={"=year(Today())"},transaction_Month={"&amp;gt;month(Today())"}&amp;gt;}Transaction)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;It works fine with the year, but when I try to filter greater months (transaction_Month has a numerical value) it just doesn't &lt;A _jive_internal="true" href="https://community.qlik.com/thread/57809" id="_GPLITA_0" style="color: #007fc0;" title="Powered by Text-Enhance"&gt;work&lt;/A&gt;. I don't get an error in the expression, but the numbers are all to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I would greatly appreciate any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 07:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359768#M1169920</guid>
      <dc:creator />
      <dc:date>2012-07-20T07:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering future months</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359769#M1169921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(Month(TODAY()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET MonthNames='sty;lut;mar;kwi;maj;cze;lip;sie;wrz;paź;lis;gru';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your loading script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 10:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359769#M1169921</guid>
      <dc:creator />
      <dc:date>2012-07-20T10:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering future months</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359770#M1169922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that helped. I had to use a variable (&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;=num(Month(TODAY()))&lt;/SPAN&gt;) and it worked well. &lt;/P&gt;&lt;P&gt;I had already resolved the issue by creating the following variable: =If(Month(Today())='jan', 1, if(Month(Today())='feb', 2, if(Month(Today())='mar', 3, if(Month(Today())='abr', 4, if(Month(Today())='may', 5, if(Month(Today())='jun', 6, if(Month(Today())='jul', 7, if(Month(Today())='ago', 8, if(Month(Today())='sep', 9, if(Month(Today())='oct', 10, if(Month(Today())='nov', 11, if(Month(Today())='dec', 12, 0)))))))))))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see your method is much cleaner. Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 10:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359770#M1169922</guid>
      <dc:creator />
      <dc:date>2012-07-20T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering future months</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359771#M1169923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will be better if you use one field DATA instead of YEAR AND MONTH fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then it'l be easy to filter mar 2013 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 10:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-future-months/m-p/359771#M1169923</guid>
      <dc:creator />
      <dc:date>2012-07-20T10:33:30Z</dc:date>
    </item>
  </channel>
</rss>

