<?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 Counting days between selection in calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264354#M579772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am new to this. I am building a pivot table to calculate occupation in an hotel between 2 dates. I already have a pivot table with a column with number of nights sold for every room and also a calendar object to filter the data in the table by dates. I need to add another column that shows the number of days between the 2 days selected on the calendar (set to multiple values), so I can calculate ocuppation (# of nights/# of days selected)*100%). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 15:31:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-08T15:31:07Z</dc:date>
    <item>
      <title>Counting days between selection in calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264354#M579772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am new to this. I am building a pivot table to calculate occupation in an hotel between 2 dates. I already have a pivot table with a column with number of nights sold for every room and also a calendar object to filter the data in the table by dates. I need to add another column that shows the number of days between the 2 days selected on the calendar (set to multiple values), so I can calculate ocuppation (# of nights/# of days selected)*100%). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 15:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264354#M579772</guid>
      <dc:creator />
      <dc:date>2012-02-08T15:31:07Z</dc:date>
    </item>
    <item>
      <title>Counting days between selection in calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264355#M579773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be simplistic but does:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(Distinct Date_Key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[whatever your key for the calendar is called]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 15:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264355#M579773</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2012-02-08T15:34:40Z</dc:date>
    </item>
    <item>
      <title>Counting days between selection in calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264356#M579774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that worked very good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 13:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-days-between-selection-in-calendar/m-p/264356#M579774</guid>
      <dc:creator />
      <dc:date>2012-02-10T13:51:21Z</dc:date>
    </item>
  </channel>
</rss>

