<?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 Id Exists during date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Id-Exists-during-date-range/m-p/99378#M752533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having trouble on this one but it may just be the way I'm phrasing this so hopefully it makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three fields - StartDate, EndDate &amp;amp; DateRange (please note EndDate will be null for lots of data)&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Id&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;StartDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;EndDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;DateRange&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;29/09/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15/07/2018-29/09/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04/01/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Null&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04/01/2018-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/09/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/2017-12/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05/04/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Null&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05/04/2018-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got listbox filters I use on some of the charts to narrow down the data.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215755_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But problem is, I need to have a count of active records during a certain period.&lt;/P&gt;&lt;P&gt;So if I select 'July 2018' my result should be 4, Select 'Jan 2017' should be 0, Select 'Dec 2017' should be 1, Select 'Today' should be 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I achieve the count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>craig157</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Id Exists during date range</title>
      <link>https://community.qlik.com/t5/QlikView/Id-Exists-during-date-range/m-p/99378#M752533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having trouble on this one but it may just be the way I'm phrasing this so hopefully it makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three fields - StartDate, EndDate &amp;amp; DateRange (please note EndDate will be null for lots of data)&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Id&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;StartDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;EndDate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;DateRange&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15/07/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;29/09/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15/07/2018-29/09/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04/01/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Null&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;04/01/2018-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/2017&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/09/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/2017-12/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05/04/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Null&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05/04/2018-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got listbox filters I use on some of the charts to narrow down the data.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215755_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But problem is, I need to have a count of active records during a certain period.&lt;/P&gt;&lt;P&gt;So if I select 'July 2018' my result should be 4, Select 'Jan 2017' should be 0, Select 'Dec 2017' should be 1, Select 'Today' should be 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I achieve the count?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/Id-Exists-during-date-range/m-p/99378#M752533</guid>
      <dc:creator>craig157</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Id Exists during date range</title>
      <link>https://community.qlik.com/t5/QlikView/Id-Exists-during-date-range/m-p/99379#M752534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create reference dates for your intervals (you can set the EndDate without a value for example to Today(1) in the script, or any other appropriate date):&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 10:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Id-Exists-during-date-range/m-p/99379#M752534</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-10-12T10:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Id Exists during date range</title>
      <link>https://community.qlik.com/t5/QlikView/Id-Exists-during-date-range/m-p/99380#M752535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've ended up setting a Stored Procedure in the SQL table and just executing that to Qlik.&lt;/P&gt;&lt;P&gt;Just using the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AssetCount:&lt;/P&gt;&lt;P&gt;sql exec ('[dbo].[usp_InScopeMonth]');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only downfall is now my dates don't relate to the Original Date Selector as I didn't want to create any loops in the Script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 13:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Id-Exists-during-date-range/m-p/99380#M752535</guid>
      <dc:creator>craig157</dc:creator>
      <dc:date>2018-11-08T13:55:40Z</dc:date>
    </item>
  </channel>
</rss>

