<?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: Linking tables - common field and dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358560#M416640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the common key across the tables ? then I think that is the issue we need to qualify the fields ..share the sample files will check and suggest &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 13:05:33 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2017-08-09T13:05:33Z</dc:date>
    <item>
      <title>Linking tables - common field and dates</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358556#M416636</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;This might be a confusing one to explain but I'll try my best. &lt;/P&gt;&lt;P&gt;I have three different data sources that I need to link together to report on. They are coming from different databases in a hospital and all have the unique patient identifier (MRN) so this is the only way that I know I can link the tables together. Each of the databases contains different information on an event that could happen to a patient (e.g. cardiac arrest, patient alarms etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to be able to filter by date and show what has happened on certain dates to give me totals of how many of these events occurred on a certain day. This is where things get difficult. I have created a 'DateLink' table using the date/time stamp for each table and then linked the DateKey to a master calendar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when I filter using this DateKey field, I get way more than just the date that I am filtering on (even when I use the DateType field as a filter that I have created in the DateLink table). I believe this has something to do with the MRN being a common field. Qlik is seeing that there are more 'things' happening with that MRN in other tables then, coming back and grabbing those 'dates' from the initial table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is hard to explain. I have provided screenshots of the Table Viewer and a testing page I have created with the dates from each table along with the DateKey and DateType (with a single DateKey and DateType filter highlighted). Unfortunately, can't share the whole &lt;SPAN style="background-color: #f6d5d9;"&gt;Qlikview &lt;/SPAN&gt;file due to the nature of the information. Any information or help on how to accurately filter the dates would be great. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Aug 2017 22:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358556#M416636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-06T22:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables - common field and dates</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358557#M416637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is with the link table try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;MRN &lt;SPAN style="font-size: 13.3333px;"&gt;as Table1_MRN,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date &lt;SPAN style="font-size: 13.3333px;"&gt;as Table1_Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MRN&amp;amp;'_'&amp;amp;Date&amp;nbsp; as Table1_Key&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from table1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MRN as Table2_MRN,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Date &lt;SPAN style="font-size: 13.3333px;"&gt;as Table2_Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MRN&amp;amp;'_'&amp;amp;Date&amp;nbsp; as Table1_Key&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from table2&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LINK_TABLE:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'Tabel1' as Source,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table1_MRN as &lt;SPAN style="font-size: 13.3333px;"&gt;MRN &lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table1_Date&amp;nbsp; as &lt;SPAN style="font-size: 13.3333px;"&gt;Date,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table1_Key&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;concatenate &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;'Tabel2' as Source,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table2_MRN as &lt;SPAN style="font-size: 13.3333px;"&gt;MRN &lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table2_Date&amp;nbsp; as &lt;SPAN style="font-size: 13.3333px;"&gt;Date,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table2_Key&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resident&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Calender:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date,,...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 07:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358557#M416637</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-08-07T07:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables - common field and dates</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358558#M416638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;while creating link table do following things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.find unique key in your fact tables&lt;/P&gt;&lt;P&gt;2.with this key and required dimension create link table.&lt;/P&gt;&lt;P&gt;3. every fact table should link to link table with the respective key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: please conform that the key your creating&amp;nbsp; is unique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will resolve your issue. if still you are facing same issue give us scrambled data anything else for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mayuresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 08:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358558#M416638</guid>
      <dc:creator>mayuresh_d</dc:creator>
      <dc:date>2017-08-07T08:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables - common field and dates</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358559#M416639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;P&gt;This does seem to be working but it is giving me a few synthetic keys for the 'Table1_Key' fields. I'm not sure what impact this will have on the rest of my data yet though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 23:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358559#M416639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T23:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linking tables - common field and dates</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358560#M416640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have the common key across the tables ? then I think that is the issue we need to qualify the fields ..share the sample files will check and suggest &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 13:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-tables-common-field-and-dates/m-p/1358560#M416640</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-08-09T13:05:33Z</dc:date>
    </item>
  </channel>
</rss>

