<?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: count 1st and last date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377635#M810297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create master calendar and simple expression using &lt;STRONG&gt;Count(Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 06:48:35 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-17T06:48:35Z</dc:date>
    <item>
      <title>count 1st and last date</title>
      <link>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377634#M810296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to count or apply in expression the first date to the last date?&lt;/P&gt;&lt;P&gt;sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; last date&lt;/P&gt;&lt;P&gt;01/25/2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06/06/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ans.&lt;/P&gt;&lt;P&gt;=4 months&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;how can i&amp;nbsp; =Count(first date) to (last date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;I need you're Help guys.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377634#M810296</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: count 1st and last date</title>
      <link>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377635#M810297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create master calendar and simple expression using &lt;STRONG&gt;Count(Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 06:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377635#M810297</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-17T06:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: count 1st and last date</title>
      <link>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377636#M810298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Qlik stores dates as text and as numbers. You could try just LastDate-FirstDate and will give you the number of days in between, any decimal will be the difference in time. Once you have the number of days you can just divide it by 30 and get an estimation of the number of months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to truncate the decimals you could use Floor: Floor((LastDate-FirstDate)/30) and you'll get your 4 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If LastDate-FirstDate doesn't work there could be an issue with the data type which is a different issue.&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;L &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377636#M810298</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-10-17T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: count 1st and last date</title>
      <link>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377637#M810299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working thank you so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-1st-and-last-date/m-p/1377637#M810299</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2017-10-17T07:39:59Z</dc:date>
    </item>
  </channel>
</rss>

