<?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 show values between dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146019#M24653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, this works great with much better performance! I would like to select more then just one date so if you have some time to figure this out it would be great! I can't find much about records with a valid date range between two dates while it's quite a common thing in BI land.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jun 2009 05:15:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-06T05:15:30Z</dc:date>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146014#M24648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have a solution for counting a value which is valid between the start date and the end date. See the between date qvw.&lt;/P&gt;&lt;P&gt;I only want to count valid values within the selected YEARMONTH_PER field.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;count(distinct ID)if(DATE_PER &amp;gt; Startdate AND DATE_PER &amp;lt;= Enddate)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;the syntax above is not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope someone has a solution or knows how to handle this kind of situations..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 04:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146014#M24648</guid>
      <dc:creator />
      <dc:date>2009-06-05T04:29:51Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146015#M24649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand your application, but it may be as simple as fixing your syntax:&lt;/P&gt;&lt;P&gt;count(distinct if(DATE_PER &amp;gt; Startdate AND DATE_PER &amp;lt;= Enddate,ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 04:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146015#M24649</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-05T04:45:55Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146016#M24650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct syntax is as below&lt;/P&gt;&lt;P&gt;count(distinct if(DATE_PER &amp;gt; Startdate AND DATE_PER &amp;lt;= Enddate,ID,o))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 05:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146016#M24650</guid>
      <dc:creator />
      <dc:date>2009-06-05T05:05:37Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146017#M24651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works! but with more then 1 million records this is getting slow.... any other solutions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 05:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146017#M24651</guid>
      <dc:creator />
      <dc:date>2009-06-05T05:10:50Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146018#M24652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have version 8.5, you should be able to use set analysis to accomplish the same thing. Set analysis should run much faster. Here's an expression that works as long as you select only a single DATE_PER at a time. If you want more than one, I can try to figure out something more complicated that will handle that as well.&lt;/P&gt;&lt;P&gt;count({&amp;lt;Startdate={"&amp;lt;$(=DATE_PER)"} Enddate={"&amp;gt;=$(=DATE_PER)"}&amp;gt;} distinct ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 00:01:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146018#M24652</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-06T00:01:41Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146019#M24653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, this works great with much better performance! I would like to select more then just one date so if you have some time to figure this out it would be great! I can't find much about records with a valid date range between two dates while it's quite a common thing in BI land.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 05:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146019#M24653</guid>
      <dc:creator />
      <dc:date>2009-06-06T05:15:30Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146020#M24654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, let me take a step back. If I underestand what you're trying to do, the best and fastest way is probably to just link the tables together using an intervalmatch. Is the attached what you're looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 05:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146020#M24654</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-06T05:43:18Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146021#M24655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really looks like my solution :-)) I'm going to test some things in my app! Many thanks for this one John!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 16:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146021#M24655</guid>
      <dc:creator />
      <dc:date>2009-06-06T16:15:36Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146022#M24656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost what I'm looking for ;-). When you select a certain amount of time it shows all versions of the ID which lays in that certain time.&lt;/P&gt;&lt;P&gt;I only want to show (count) the latest version of the ID laying in the selected time.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Selected time is between 1-1-1990 and 1-1-1995&lt;/P&gt;&lt;P&gt;ID version startdate enddate&lt;/P&gt;&lt;P&gt;100 1 1-1-1990 1-1-1992&lt;/P&gt;&lt;P&gt;100 2 2-1-1992&lt;/P&gt;&lt;P&gt;I only want to show (count) version 2. Hope I make myself clear &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; Thanks for helping me out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2009 17:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146022#M24656</guid>
      <dc:creator />
      <dc:date>2009-06-06T17:27:36Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146023#M24657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this would work for your actual application, but instead of having Startdate and Enddate as dimensions, you could have max(Startdate) and max(Enddate) as expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 01:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146023#M24657</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-09T01:21:53Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146024#M24658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this excellent solution John! This is exaclty where I was looking for!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 14:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146024#M24658</guid>
      <dc:creator />
      <dc:date>2009-06-09T14:57:50Z</dc:date>
    </item>
    <item>
      <title>show values between dates</title>
      <link>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146025#M24659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;if(DATE_PER &amp;gt; Startdate,if(DATE_PER&amp;lt;Enddate,count(distinct ID),0),0)&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 18:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-values-between-dates/m-p/146025#M24659</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-06-15T18:09:37Z</dc:date>
    </item>
  </channel>
</rss>

