<?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: Counting Days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380137#M491567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;Thanks for the help.  I have tried the count function.  Trouble is it only counts selected days if there is data.  I want to count all selected days, regardless of presence of data.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2012 19:45:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-27T19:45:12Z</dc:date>
    <item>
      <title>Counting Days</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380135#M491565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I select a Week in my document, the number of days in that week are highlighted only&amp;nbsp; if there is data for those days.&amp;nbsp; For example, a week has seven days but if my selection only contains data for 6 days, the count is 6.&amp;nbsp; I want to be able to count the number of calendar days in a selection, regardless of presence of data.&amp;nbsp; So, if I select a month I want to count 30, 31, or 28 days.&amp;nbsp; Even if there are days missing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian Summ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 20:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380135#M491565</guid>
      <dc:creator />
      <dc:date>2012-08-22T20:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Days</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380136#M491566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on the schema you have created. Do you have a Calendar Table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have it, you could count (distinct Date_Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have it, try with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(Date_Field)-min(Date_Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date_Field must be in date format, not timestamp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 21:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380136#M491566</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-08-22T21:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Days</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380137#M491567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;Thanks for the help.  I have tried the count function.  Trouble is it only counts selected days if there is data.  I want to count all selected days, regardless of presence of data.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 19:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380137#M491567</guid>
      <dc:creator />
      <dc:date>2012-08-27T19:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Days</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380138#M491568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must create a Calendar table and use Set analysis at MIn and Max function. Like that: max({1&amp;lt;week=,week={$(#=only(week))}&amp;gt;} date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2012 20:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380138#M491568</guid>
      <dc:creator>prodanov</dc:creator>
      <dc:date>2012-08-27T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Days</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380139#M491569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you have tried the second suggest i sent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, read all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;max(Date_Field)-min(Date_Field)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 11:31:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380139#M491569</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-08-28T11:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Days</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380140#M491570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haven’t tried it yet.  Thanks though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 14:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Days/m-p/380140#M491570</guid>
      <dc:creator />
      <dc:date>2012-08-28T14:27:17Z</dc:date>
    </item>
  </channel>
</rss>

