<?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: Month Year Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279026#M1197011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;You can use the set analysis to select the range you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example,&lt;/P&gt;&lt;P&gt;if your expression is&amp;nbsp; sum(FieldName1)/count(FieldName2)&lt;/P&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;[Year Month]={"&amp;gt;=Jan 2011 &amp;lt;=June 2011"}&amp;gt;} Fieldname1)/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;[Year Month]={"&amp;gt;=Jan 2011 &amp;lt;=June 2011"}&amp;gt;}Fieldname2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where [Year Month] is your Month Year field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Abhinava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 10:52:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-10T10:52:47Z</dc:date>
    <item>
      <title>Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279021#M1197006</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 a list of Month Year value in this format &lt;STRONG&gt;Jan-11&lt;/STRONG&gt; and it contains data from 2009 to 2011 but i want to select only Jan-11 to May-11.&lt;/P&gt;&lt;P&gt;Please tell me haw can i select that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 08:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279021#M1197006</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-06-10T08:44:45Z</dc:date>
    </item>
    <item>
      <title>Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279022#M1197007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;¿?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum/count({$ &amp;lt;year(monthyear)={2011}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain more about the question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 09:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279022#M1197007</guid>
      <dc:creator />
      <dc:date>2011-06-10T09:04:36Z</dc:date>
    </item>
    <item>
      <title>Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279023#M1197008</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;Can you explain your actual requirement bit more ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 09:16:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279023#M1197008</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2011-06-10T09:16:12Z</dc:date>
    </item>
    <item>
      <title>Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279024#M1197009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;BR /&gt;You can always try e.g. Sum(If(YearName(MonthYear)=2011, xxx), or split MonthYear in the script to Month(MonthYear) as Month and Year(MonthYear) as Year...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/@Ungvall&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279024#M1197009</guid>
      <dc:creator />
      <dc:date>2011-06-10T10:15:42Z</dc:date>
    </item>
    <item>
      <title>Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279025#M1197010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Date Column like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date Column&lt;/P&gt;&lt;P&gt;2010-06-29 00:00:00&lt;/P&gt;&lt;P&gt;2010-07-02 00:00:00&lt;/P&gt;&lt;P&gt;2010-07-06 00:00:00&lt;/P&gt;&lt;P&gt;2010-07-07 00:00:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apply Monthname, MonthYear seprately to get Month and Year value like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dec 2010&lt;/P&gt;&lt;P&gt;Jan 2011&lt;/P&gt;&lt;P&gt;Feb 2011&lt;/P&gt;&lt;P&gt;Mar 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, But i want to select only six months data from the list from the below list&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun 2010&lt;/P&gt;&lt;P&gt;Jul 2010&lt;/P&gt;&lt;P&gt;Aug 2010&lt;/P&gt;&lt;P&gt;Sep 2010&lt;/P&gt;&lt;P&gt;Oct 2010&lt;/P&gt;&lt;P&gt;Nov 2010&lt;/P&gt;&lt;P&gt;Dec 2010&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jan 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feb 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Apr 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;May 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jun 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;July 2011&lt;/P&gt;&lt;P&gt;Aug 2011&lt;/P&gt;&lt;P&gt;Sep 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this please provide me the details &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jan 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feb 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Apr 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;May 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jun 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279025#M1197010</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-06-10T10:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279026#M1197011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;You can use the set analysis to select the range you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example,&lt;/P&gt;&lt;P&gt;if your expression is&amp;nbsp; sum(FieldName1)/count(FieldName2)&lt;/P&gt;&lt;P&gt;you can use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;[Year Month]={"&amp;gt;=Jan 2011 &amp;lt;=June 2011"}&amp;gt;} Fieldname1)/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;[Year Month]={"&amp;gt;=Jan 2011 &amp;lt;=June 2011"}&amp;gt;}Fieldname2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where [Year Month] is your Month Year field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Abhinava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279026#M1197011</guid>
      <dc:creator />
      <dc:date>2011-06-10T10:52:47Z</dc:date>
    </item>
    <item>
      <title>Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279027#M1197012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhinava, are you sure that you can compare dates like this way? The " in Set analisys shows that the comparison is textual or numeric, not dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anardjs, i cant understand if you want to do this in a Graph or in the script. What you mean "I want to select"? Selection are available in List boxes, for example. Anyway, i will give my opinion for both:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) In a graph:&lt;/P&gt;&lt;P&gt;For example, if you want to see the sales between Jan-2011 and Jun-2011, without take care about time selections.&lt;/P&gt;&lt;P&gt;If you created the MY field from MonthName(Date) function, this field will get both values: numeric date, and text date. You must use $ function to get the numeric value of the data limitation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MonthYearField={"&amp;gt;=$(=MakeDate(2011, 01, 1)) &amp;lt;$(=MakeDate(2011, 06, 01))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In script:&lt;/P&gt;&lt;P&gt;If you want to put a flag on the registers that, in MonthYearField, are in the same interval, try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (Dates)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthYearField,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Yes'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Flag&lt;/P&gt;&lt;P&gt;Resident Dates&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthYearField &amp;gt;= MakeDate(2011, 01, 01)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp; Month YearField &amp;lt; MakeDate (2011, 06, 01);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know if It was useful for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 18:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279027#M1197012</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-03-14T18:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Month Year Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279028#M1197013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first its best you format the dates&amp;nbsp;&amp;nbsp; then you could use something like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Monthstart(Jan 11,0))&amp;lt;=$(=Monthend(May 11,0))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 15:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Year-Selection/m-p/279028#M1197013</guid>
      <dc:creator />
      <dc:date>2012-09-04T15:51:51Z</dc:date>
    </item>
  </channel>
</rss>

