<?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 field count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531513#M198591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your Helpful reply...&lt;/P&gt;&lt;P&gt;my requirement is if i select individual month i will get 1 for Jan.....and so on&lt;/P&gt;&lt;P&gt;if i select Jan ,Feb at a time...&lt;/P&gt;&lt;P&gt;1. Let me Explain like this ...i have Goal Amount in my piviot Table....if i select month individually(Jan....Dec)..my calculations would be =(count(individual month)/12)*Goal Amount....&lt;/P&gt;&lt;P&gt;2. If i select Jan,Feb...(any combination of months)..i want to calculate the above Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Smiley&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Oct 2013 13:36:17 GMT</pubDate>
    <dc:creator>rathnam_qv</dc:creator>
    <dc:date>2013-10-26T13:36:17Z</dc:date>
    <item>
      <title>Month field count</title>
      <link>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531511#M198589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A name="_Toc369591517"&gt;&lt;/A&gt;&lt;SPAN style="font-size: 10pt; font-family: Book Antiqua;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;Hi all,&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;i have MONTH field as a list box...i want to calculate each value count...(ex: if i select Jan then i want to see the value 1, 1nd 2 for Feb,3 for Mar...12 for Dec)&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;how can we do it....&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;help me out&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;Thanks in Advance!!!!!&lt;/P&gt;&lt;P align="left" dir="ltr"&gt;Smiley&lt;/P&gt;&lt;P&gt;&lt;A name="_Toc369591517"&gt;&lt;/A&gt;&lt;STRONG style="font-size: 18pt; font-family: Cambria;"&gt;&lt;STRONG style="font-size: 18pt; font-family: Cambria;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 13:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531511#M198589</guid>
      <dc:creator>rathnam_qv</dc:creator>
      <dc:date>2013-10-26T13:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Month field count</title>
      <link>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531512#M198590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have created the MONTH field using the QV function Month(DATEFIELD), then you got a so called dual value, and you get the numeric value by applying num() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(MONTH)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: If your MONTH field is text only, but matches the values of your MonthNames variable set in the script, you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(month(Date#(MONTHFIELD ,'MMM')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 13:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531512#M198590</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-26T13:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Month field count</title>
      <link>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531513#M198591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your Helpful reply...&lt;/P&gt;&lt;P&gt;my requirement is if i select individual month i will get 1 for Jan.....and so on&lt;/P&gt;&lt;P&gt;if i select Jan ,Feb at a time...&lt;/P&gt;&lt;P&gt;1. Let me Explain like this ...i have Goal Amount in my piviot Table....if i select month individually(Jan....Dec)..my calculations would be =(count(individual month)/12)*Goal Amount....&lt;/P&gt;&lt;P&gt;2. If i select Jan,Feb...(any combination of months)..i want to calculate the above Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we do that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Smiley&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 13:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531513#M198591</guid>
      <dc:creator>rathnam_qv</dc:creator>
      <dc:date>2013-10-26T13:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Month field count</title>
      <link>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531514#M198592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, you don't want to get the month number in the year (Jan=1, Feb=2, etc), but the number of distinct Month values, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count(DISTINCT MONTHFIELD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 13:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-field-count/m-p/531514#M198592</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-26T13:38:21Z</dc:date>
    </item>
  </channel>
</rss>

