<?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 Filter Date Between Two Uncoupled Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199770#M58556</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 have two tables that I'm trying to link by date. Each table has a date field, but the fields are named differently to avoid circular references. Is it possible via set analysis to make the two date fields equal each other? I've tried to do this so far unsuccessfully.&lt;/P&gt;&lt;P&gt;The fields I'm trying to link (Calendar Date and Registration Date) are in the tables below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1837_sourceID:1837" /&gt;&lt;/P&gt;&lt;P&gt;I've been trying to use the following set analysis to link the Registration and Calendar Date fields:&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Calendar Date] = [Registration Date]&amp;gt;} [Hit Time])&lt;/P&gt;&lt;P&gt;However, all rows are coming back with a 0 value. For some reason it's unable to match the dates, but when I remove the set analysis it shows 1986. So the data's there, Qlikview's just unable to filter it properly.&lt;/P&gt;&lt;P&gt;The table below shows the output without set analysis (1986) and with it (0).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1838_sourceID:1838" /&gt;&lt;/P&gt;&lt;P&gt;Any insight into how to link these date fields with set analysis will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jun 2010 17:29:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-23T17:29:08Z</dc:date>
    <item>
      <title>Filter Date Between Two Uncoupled Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199770#M58556</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 have two tables that I'm trying to link by date. Each table has a date field, but the fields are named differently to avoid circular references. Is it possible via set analysis to make the two date fields equal each other? I've tried to do this so far unsuccessfully.&lt;/P&gt;&lt;P&gt;The fields I'm trying to link (Calendar Date and Registration Date) are in the tables below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1837_sourceID:1837" /&gt;&lt;/P&gt;&lt;P&gt;I've been trying to use the following set analysis to link the Registration and Calendar Date fields:&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Calendar Date] = [Registration Date]&amp;gt;} [Hit Time])&lt;/P&gt;&lt;P&gt;However, all rows are coming back with a 0 value. For some reason it's unable to match the dates, but when I remove the set analysis it shows 1986. So the data's there, Qlikview's just unable to filter it properly.&lt;/P&gt;&lt;P&gt;The table below shows the output without set analysis (1986) and with it (0).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1838_sourceID:1838" /&gt;&lt;/P&gt;&lt;P&gt;Any insight into how to link these date fields with set analysis will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 17:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199770#M58556</guid>
      <dc:creator />
      <dc:date>2010-06-23T17:29:08Z</dc:date>
    </item>
    <item>
      <title>Filter Date Between Two Uncoupled Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199771#M58557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are your Calendar and Hit Date in the same date format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 17:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199771#M58557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-23T17:59:37Z</dc:date>
    </item>
    <item>
      <title>Filter Date Between Two Uncoupled Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199772#M58558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the date formats are identical. Here's a screenshot, perhaps you can see something I'm missing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/8372.Screen-shot-2010_2D00_06_2D00_23-at-7.08.44-PM.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/8372.Screen-shot-2010_2D00_06_2D00_23-at-7.08.44-PM.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 18:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199772#M58558</guid>
      <dc:creator />
      <dc:date>2010-06-23T18:10:11Z</dc:date>
    </item>
    <item>
      <title>Filter Date Between Two Uncoupled Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199773#M58559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not a set analysis expert but I suspect that might be the issue.&lt;/P&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;count(IF([Calendar Date] = [Registration Date], [Hit Time]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 18:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199773#M58559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-23T18:23:22Z</dc:date>
    </item>
    <item>
      <title>Filter Date Between Two Uncoupled Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199774#M58560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea, but still returning incorrect values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5238.Screen-shot-2010_2D00_06_2D00_23-at-7.34.14-PM.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5238.Screen-shot-2010_2D00_06_2D00_23-at-7.34.14-PM.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are only 1986 total hits, so these figures are impossible. Any other ideas?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 18:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199774#M58560</guid>
      <dc:creator />
      <dc:date>2010-06-23T18:36:12Z</dc:date>
    </item>
    <item>
      <title>Filter Date Between Two Uncoupled Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199775#M58561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe that you can assign a field another field in set analysis. (I've tried with the same results you're getting). I believe what you need to do is create a 'set' of values. to assign to the field. You could try creating a set of values from the current selection using CONCAT()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;count({&amp;lt;[Calendar Date] = {CONCAT([Registration Date], ',')&amp;gt;}} [Hit Time])&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sorry, my syntax is likely wrong. You probably need to use a dollar sign expansion to evaluate the concat function… I bang my head against that syntax pretty often. You'd think I'd learn…&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jun 2010 19:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Date-Between-Two-Uncoupled-Tables/m-p/199775#M58561</guid>
      <dc:creator />
      <dc:date>2010-06-23T19:25:57Z</dc:date>
    </item>
  </channel>
</rss>

