<?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: Greater then today's Year-Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761972#M1049224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc&lt;/P&gt;&lt;P&gt;thanks for your help, i used your syntax but added MonthStart, because i need the full date format.&lt;/P&gt;&lt;P&gt;if(Date&amp;gt;=MonthStart(today()),1,0) as Future_Flag&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;avner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 12:56:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-04T12:56:16Z</dc:date>
    <item>
      <title>Greater then today's Year-Month</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761970#M1049222</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;I have an expression where i want to present future months.&lt;/P&gt;&lt;P&gt;this table is brings seasonal Data ( sep-2014 to sep-2015).&lt;/P&gt;&lt;P&gt;I'm trying to find a way to calculate values only if their Year-Month is equal or greater then today's year month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appreciate any help&lt;/P&gt;&lt;P&gt;Avner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 11:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761970#M1049222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T11:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Greater then today's Year-Month</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761971#M1049223</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;Best solution is to create a flag in script and then use it in the experssion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In scrip-&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;LOAD *, if(monthname(today())&amp;gt;=yourmonthnamefield, 1,0) as FlagFuture;&lt;/P&gt;&lt;P&gt;LOAD*, monthname(yourdatefield) as yourmonthnamefield&lt;/P&gt;&lt;P&gt;FROM yoursource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In expression-&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;FlagFuture={'1'}&amp;gt;} yourvaluefield)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 12:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761971#M1049223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T12:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Greater then today's Year-Month</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761972#M1049224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc&lt;/P&gt;&lt;P&gt;thanks for your help, i used your syntax but added MonthStart, because i need the full date format.&lt;/P&gt;&lt;P&gt;if(Date&amp;gt;=MonthStart(today()),1,0) as Future_Flag&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;avner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 12:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761972#M1049224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T12:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Greater then today's Year-Month</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761973#M1049225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avner,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you will get the same result, because Monthname function returns the same numeric value than Monthstart function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 12:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761973#M1049225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T12:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Greater then today's Year-Month</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761974#M1049226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right,&lt;/P&gt;&lt;P&gt;but I was afraid to lose the connection between the month and the year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 13:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761974#M1049226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Greater then today's Year-Month</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761975#M1049227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avner,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will only loose the connection between year and month with the Month() function, that returns only the month and not the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Monthname or Monthstart as your election, the difference is the format of result date, but not the internal numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 13:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-then-today-s-Year-Month/m-p/761975#M1049227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-04T13:08:50Z</dc:date>
    </item>
  </channel>
</rss>

