<?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 Count Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637384#M1093019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where we need to calculate a value like&amp;nbsp; (sales/ No of months lapsed).&lt;/P&gt;&lt;P&gt;Ex: if we will select a year 2013 and month='July' then it should calculate the value like sales/6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So any body can suggest how to calculate the no of months lapsed .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 May 2014 12:23:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-18T12:23:28Z</dc:date>
    <item>
      <title>Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637384#M1093019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where we need to calculate a value like&amp;nbsp; (sales/ No of months lapsed).&lt;/P&gt;&lt;P&gt;Ex: if we will select a year 2013 and month='July' then it should calculate the value like sales/6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So any body can suggest how to calculate the no of months lapsed .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 12:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637384#M1093019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-18T12:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637385#M1093021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales/Num(GetFieldSelection(MonthField))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 12:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637385#M1093021</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-18T12:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637386#M1093023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not working...we need the number of that month selection.&lt;/P&gt;&lt;P&gt;By using num function its not coming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 12:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637386#M1093023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-18T12:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637387#M1093025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM(Sales)/NUM(Max(Month)-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 12:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637387#M1093025</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-18T12:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637388#M1093027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 13:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637388#M1093027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-18T13:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637389#M1093028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Sales) / Max(Month)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if possible share the sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 13:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637389#M1093028</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-18T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637390#M1093029</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;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;"&gt;SUM(Sales)/NUM(Max(Month))-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Just wanted to know how you calculating Month?&lt;BR /&gt;&lt;/SPAN&gt;&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;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 14:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637390#M1093029</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-05-18T14:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637391#M1093030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your Field Month is ='July' or =7 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 14:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637391#M1093030</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-05-18T14:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637392#M1093031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this :=sum(Sales)/(num(Month)-1).&lt;/P&gt;&lt;P&gt;=num(Month) will give you the int related to the month selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 14:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637392#M1093031</guid>
      <dc:creator />
      <dc:date>2014-05-18T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637393#M1093032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field month is July,but i need the number 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 15:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637393#M1093032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-18T15:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637394#M1093033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have normal month selection like January,Feburary,...December..&lt;BR /&gt;But we need the number format of months for that expression to calculate months lapsed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 15:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637394#M1093033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-18T15:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637395#M1093034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have Field Date (format mm/dd/yyyy) You can try&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(Sales)/(Num(Left(Max(Date),2)) -1) &lt;/P&gt;&lt;P&gt;but this don't work if You choose 'Jan'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 15:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637395#M1093034</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-05-18T15:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637396#M1093035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For any Month fields which is contains June,July so far but if you try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Max(Month) it will gives you 7 and you can also try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Num(Max(Month)) will will also gives you 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your requirement you can try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Sales) / Max(Month)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Sales) / Num(Max(Month))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as other members also suggest the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 17:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637396#M1093035</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-18T17:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637397#M1093036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max(match(Month,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;January&lt;/SPAN&gt;','February','March','April','May','June','July','August','September','October','November','December'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 18:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637397#M1093036</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-18T18:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637398#M1093037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NUM(Date(Date#(Your Month field, 'MMM'),'MMM')) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 05:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637398#M1093037</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-19T05:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637399#M1093038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using month(date#(MONTH FILELD ,'MMM')) it worked.&lt;/P&gt;&lt;P&gt;Thanks all for ur help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 05:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637399#M1093038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-19T05:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637400#M1093039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While loading the Month field, add one more field of associated month numbers like field name 'MonthNum'.&lt;/P&gt;&lt;P&gt;Then use the below expression:&lt;/P&gt;&lt;P&gt;sum(Sales)/(max(MonthNum)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 06:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637400#M1093039</guid>
      <dc:creator />
      <dc:date>2014-05-19T06:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637401#M1093040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread by selecting appropriate answers so that others having similar problems can use. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 18:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function/m-p/637401#M1093040</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-05-19T18:58:36Z</dc:date>
    </item>
  </channel>
</rss>

