<?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: Distributing Days across Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347689#M414586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;StartDate = 10/04/2017&lt;/P&gt;&lt;P&gt;EndDate = 03/06/2017&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167995_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;See Attachment.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Jun 2017 05:31:12 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-06-24T05:31:12Z</dc:date>
    <item>
      <title>Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347682#M414579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two dates&lt;/P&gt;&lt;P&gt;start date: 01/05/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;EndDate: 03/06/2017&lt;/P&gt;&lt;P&gt;I want to distribute the number of days between the days to the months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;start date: 01/05/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jan&amp;nbsp;&amp;nbsp; feb&amp;nbsp;&amp;nbsp; mar&amp;nbsp;&amp;nbsp; apr&amp;nbsp; may&amp;nbsp; jun&amp;nbsp;&amp;nbsp; jul&amp;nbsp; aug sep oct&amp;nbsp;&amp;nbsp; nov&amp;nbsp;&amp;nbsp; dec&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;EndDate: 03/06/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;How can I achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 00:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347682#M414579</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-23T00:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347683#M414580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want this in the script or front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 01:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347683#M414580</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-23T01:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347684#M414581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In front end if possible.&lt;/P&gt;&lt;P&gt;Once the data is matches then might move it to the script level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 01:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347684#M414581</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-23T01:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347685#M414582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted it in front end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 01:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347685#M414582</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-23T01:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347686#M414583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 04:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347686#M414583</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-23T04:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347687#M414584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to show your data model so that I can propose the best possible way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 08:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347687#M414584</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-23T08:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347688#M414585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i wont be able to share the sample data as i am on&amp;nbsp; a client visit.&lt;/P&gt;&lt;P&gt;Consider the above two as my data with only change that the months across which the days is to be distributed is coming from the two dates only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 20:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347688#M414585</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-23T20:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347689#M414586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raul,&lt;/P&gt;&lt;P&gt;StartDate = 10/04/2017&lt;/P&gt;&lt;P&gt;EndDate = 03/06/2017&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167995_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;See Attachment.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 05:31:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347689#M414586</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-24T05:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347690#M414587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share the code you have written as i don't see any attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347690#M414587</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T06:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347691#M414588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;got it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347691#M414588</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T06:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347692#M414589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See Attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347692#M414589</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-24T06:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347693#M414590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the variable that you have taken?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347693#M414590</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T06:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347694#M414591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a Common date from which I will take the months across which I will distribute the data&lt;/P&gt;&lt;P&gt;so with this expression&lt;/P&gt;&lt;P&gt;Sum(If([common date]&amp;gt;=$(=Min(StartDate)) and [common date]&amp;lt;= $(=Max(EndDate)),1,0))&lt;/P&gt;&lt;P&gt;And also I will have 10k such values for start date and end date for each of the combination I would want to distribute the number.&lt;/P&gt;&lt;P&gt;But with the above expression I am not getting anything in the chart.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347694#M414591</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T06:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347695#M414592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had tried nested if but seems to have some error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//IF(LinkMonth&amp;gt;=Month(ADVOCACY_FROM),&lt;/P&gt;&lt;P&gt;//IF(Month(ADVOCACY_TO)&amp;gt;=LinkMonth AND Year(ADVOCACY_TO)=LinkYear,&lt;/P&gt;&lt;P&gt;//IF(Month(ADVOCACY_FROM)=MONTH(ADVOCACY_TO) AND Year(ADVOCACY_FROM)=Year(ADVOCACY_TO) and day(ADVOCACY_TO)&amp;lt;&amp;gt;day(ADVOCACY_FROM),&lt;/P&gt;&lt;P&gt;//Interval(((ADVOCACY_TO)-ADVOCACY_FROM),'DD')+1,&lt;/P&gt;&lt;P&gt;//IF(Month(ADVOCACY_FROM)=MONTH(ADVOCACY_TO) AND Year(ADVOCACY_FROM)=Year(ADVOCACY_TO) and day(ADVOCACY_TO)=day(ADVOCACY_FROM),1,&lt;/P&gt;&lt;P&gt;//IF(LinkMonth=Month(ADVOCACY_FROM) AND Year(ADVOCACY_FROM)=LinkYear,&lt;/P&gt;&lt;P&gt;//Interval((MonthEnd(ADVOCACY_FROM)-ADVOCACY_FROM),'DD'),&lt;/P&gt;&lt;P&gt;//IF(LinkMonth=Month(ADVOCACY_TO) AND Year(ADVOCACY_TO)=LinkYear,&lt;/P&gt;&lt;P&gt;//Interval((MonthStart(ADVOCACY_TO)-ADVOCACY_TO),'DD'),&lt;/P&gt;&lt;P&gt;//IF(Date(MonthStart(ADVOCACY_FROM),'MMM-YYYY')&amp;lt;Date(MonthStart(LinkDate),'MMM-YYYY')&lt;/P&gt;&lt;P&gt;//AND Date(MonthStart(LinkDate),'MMM-YYYY')&amp;lt;Date(MonthStart(ADVOCACY_TO),'MMM-YYYY'),&lt;/P&gt;&lt;P&gt;//Floor(MonthEnd(LinkDate)) - Floor(MonthStart(LinkDate)) + 1))&lt;/P&gt;&lt;P&gt;//&lt;/P&gt;&lt;P&gt;//)))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347695#M414592</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T06:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347696#M414593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See new Attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 06:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347696#M414593</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-24T06:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347697#M414594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;Use a calendar in your script. If you don't have one try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vFirstDay =num(Date('01/01/2017'));&lt;/P&gt;&lt;P&gt;Let vLastDay = num(Date('31/12/2017'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) As Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date;&lt;/P&gt;&lt;P&gt;Load Date($(vFirstDay) + RecNo() -1 ) AS Date &lt;/P&gt;&lt;P&gt;AutoGenerate $(vLastDay) - $(vFirstDay) +1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this expression in a straight table should work for you:&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Date = {"&amp;gt;=$(vStartDate)&amp;lt;=$(vEndDate)"}&amp;gt;}Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;vStartDate and vEndDate are your own variables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Count({$&amp;lt;Date = {"&amp;gt;=01/05/2017&amp;lt;=03/06/2017 "}&amp;gt;}Date)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;34 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;May&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;31&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Jun&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can add an extra expression Count(Date) and in the Presentation tab set that new column to hidden to get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Count({$&amp;lt;Date = {"&amp;gt;=01/05/2017&amp;lt;=03/06/2017 "}&amp;gt;}Date)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;34 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Jan&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Feb&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Mar&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Apr&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;May&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;31&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Jun&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Jul&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Aug&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Sep&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Oct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Nov&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Dec&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 07:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347697#M414594</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-06-24T07:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347698#M414595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;But my first date and last date comes from a database table which has million of first date and last date&lt;/P&gt;&lt;P&gt;So I need some expression in the front end which could use the database fields and give the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 08:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347698#M414595</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T08:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347699#M414596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167976_Capture.JPG" style="height: 265px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;hi this how my output is coming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 08:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347699#M414596</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T08:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347700#M414597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this Expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; &amp;gt;=&lt;SPAN style="color: #800000;"&gt;StartDate&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #800000;"&gt;EndDate&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 08:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347700#M414597</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-06-24T08:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Distributing Days across Months</title>
      <link>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347701#M414598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives just 1 on the months where the months of endate and start date have same month rest all are blanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jun 2017 08:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distributing-Days-across-Months/m-p/1347701#M414598</guid>
      <dc:creator>rahulsingh12</dc:creator>
      <dc:date>2017-06-24T08:34:03Z</dc:date>
    </item>
  </channel>
</rss>

