<?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 of Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202578#M874263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to calculate today from &lt;STRONG&gt;this year&lt;/STRONG&gt; start use below query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Today()-YearStart(Today())&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to calculate today from this &lt;STRONG&gt;previous yea&lt;/STRONG&gt;r start use below query and the minus values goes on for every previous year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Today()-YearStart(Today(),-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2016 06:35:03 GMT</pubDate>
    <dc:creator>eromiyasimon</dc:creator>
    <dc:date>2016-11-01T06:35:03Z</dc:date>
    <item>
      <title>Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202576#M874261</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 need to count number of date between first day of year up today and like this for previous year.&lt;/P&gt;&lt;P&gt;I don't know what to do&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;please help me;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Hamide&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-of-Date/m-p/1202576#M874261</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202577#M874262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hamide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This year start date to today:&lt;/P&gt;&lt;P&gt;=num(Today())-num(YearStart(Today()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Last year start date to today:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=num(Today())-num(YearStart(Today()))+365&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 06:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202577#M874262</guid>
      <dc:creator />
      <dc:date>2016-11-01T06:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202578#M874263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to calculate today from &lt;STRONG&gt;this year&lt;/STRONG&gt; start use below query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Today()-YearStart(Today())&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to calculate today from this &lt;STRONG&gt;previous yea&lt;/STRONG&gt;r start use below query and the minus values goes on for every previous year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Today()-YearStart(Today(),-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 06:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202578#M874263</guid>
      <dc:creator>eromiyasimon</dc:creator>
      <dc:date>2016-11-01T06:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202579#M874264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean Starting Date to Ending Date of the PY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 06:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202579#M874264</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-01T06:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202580#M874265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/70917"&gt;Count days between current selection in Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/24713"&gt;Year to Date vs Year to date Last Year&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 06:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202580#M874265</guid>
      <dc:creator>lakshmikandh</dc:creator>
      <dc:date>2016-11-01T06:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202581#M874266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hamide,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Today() - YourDateField&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;=YourEndDate - YourStartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 06:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202581#M874266</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-11-01T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202582#M874267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Days between today and first day of year:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Today() - yearStart(today())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Previous year to first day of year:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= &lt;/STRONG&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;yearStart(today()) - &lt;STRONG style="font-size: 13.3333px;"&gt;AddYears(Today(),-1) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 07:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202582#M874267</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-11-01T07:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202583#M874268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Counting off same number of days in previous year&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=YearStart(Today(), -1) + (Today() - YearStart(Today()))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 07:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202583#M874268</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-11-01T07:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202584#M874269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for&amp;nbsp; your answer, but my date is shamsi date &lt;/P&gt;&lt;P&gt;I want calculate the number of date between 1/1/1395 up today(12/8/1395) ;&lt;/P&gt;&lt;P&gt;My answer should be : 228&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 06:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202584#M874269</guid>
      <dc:creator />
      <dc:date>2016-11-02T06:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202585#M874270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Some thing Like this and then we can help you OR Please provide me sample Data which demonstrates the o/p&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; font-size: 13px;"&gt;&lt;STRONG&gt;Count(Date(Interval(1/1/1395 - 12/8/1395),'DD/MM/YYYY'))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 06:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-of-Date/m-p/1202585#M874270</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-02T06:30:31Z</dc:date>
    </item>
  </channel>
</rss>

