<?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: Join tables multiple times in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121246#M369536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I should have specified that when I said joining multiple times, I meant I want those red lines I drew in the image to be joins in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying I should write the script so that the Table Viewer shows multiple instances of the Hospitalist table, each joined once to the HospitalMedicine table? I considered this, but it sounds cumbersome and it prevents me from doing what I describe in my response to &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/boorgura"&gt;boorgura&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;, above--I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 17:39:27 GMT</pubDate>
    <dc:creator>Margaret</dc:creator>
    <dc:date>2016-07-08T17:39:27Z</dc:date>
    <item>
      <title>Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121242#M369532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to join two Qlikview Tables multiple times?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with Hospital visits with various things that happen over the course of a visit. Often different Providers (Doctor, Nurse Practitioner, etc.) are associated with different aspects of the same visit. Can I join to the Hospitalist table multiple times? If so, how?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130713_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 16:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121242#M369532</guid>
      <dc:creator>Margaret</dc:creator>
      <dc:date>2016-07-08T16:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121243#M369533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share a sample of expected output data format?&lt;/P&gt;&lt;P&gt;Or do you expect the result to have multiple columns - like DS_Name, HP_Name, AD_Name &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121243#M369533</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2016-07-08T17:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121244#M369534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of joining many times (which I do not know what that means), I would create different tables like Hospotalists that joins different fields in the HospitalMedcine table. That will make it a preferable model for Qlikview. However, no one knows your data better than yourself. This is only my 2 cents if that makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121244#M369534</guid>
      <dc:creator>alexpanjhc</dc:creator>
      <dc:date>2016-07-08T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121245#M369535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to be able to create sheet objects using the Hospitalist's (full)Name (not the abbreviated ID which is used in the DS_Dictator field and the other fields in Hospital Medicine that have red lines drawn next to them) that show the work that a specific Hospitalist does, without having to click on that person in multiple listboxes. That is, I don't want to have to filter more than once to see the work of one hospitalist. I also want to filter by GroupName, which I can't do unless I link to the Hospitalists table which contains GroupNames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I want to create a sheet with&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;a line graph showing percentage of Discharge Summaries dictated on or before the date of discharge over time&lt;/LI&gt;&lt;LI&gt;a line graph showing percentage of patients for whom an Advance Directive was ordered over time&lt;/LI&gt;&lt;LI&gt;a single listbox where a user can select one or more Hospitalist(s) that will make both above referenced line graphs display the data for only that/those Hospitalist(s)&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121245#M369535</guid>
      <dc:creator>Margaret</dc:creator>
      <dc:date>2016-07-08T17:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121246#M369536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I should have specified that when I said joining multiple times, I meant I want those red lines I drew in the image to be joins in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying I should write the script so that the Table Viewer shows multiple instances of the Hospitalist table, each joined once to the HospitalMedicine table? I considered this, but it sounds cumbersome and it prevents me from doing what I describe in my response to &lt;SPAN style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/boorgura"&gt;boorgura&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;, above--I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121246#M369536</guid>
      <dc:creator>Margaret</dc:creator>
      <dc:date>2016-07-08T17:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121247#M369537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a link table between the two tables that would associate a VistiID with multiple ProdivderIds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121247#M369537</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-08T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121248#M369538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me ask you this:&lt;/P&gt;&lt;P&gt;you one row (or one record) always have only 1 ID populated? If more than 1 is populated, will all of them be the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121248#M369538</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2016-07-08T17:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121249#M369539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One Visit Record in the HospitalMedicine Table will have more than one ProviderID, and those ProviderID's may be different (because different providers are associated with different aspects of the same visit).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121249#M369539</guid>
      <dc:creator>Margaret</dc:creator>
      <dc:date>2016-07-08T17:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121250#M369540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Rob. I read up on Link Tables, but I can't figure out what you mean. Could you please explain? I really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 19:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121250#M369540</guid>
      <dc:creator>Margaret</dc:creator>
      <dc:date>2016-07-08T19:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121251#M369541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached an example in my reply above. Download it and see if it makes sense to you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 20:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121251#M369541</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-08T20:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121252#M369542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create a link table between your HospitalMedicine and Hospitalists table, you could also try with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14680224839036303" jivemacro_uid="_14680224839036303"&gt;
&lt;P&gt;tabLink:&lt;/P&gt;
&lt;P&gt;Crosstable (Role, HospID)&lt;/P&gt;
&lt;P&gt;LOAD VisitID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DS_Dictator,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HP_Dictator,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AD_Orderer,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dis_Biller,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FUBiller&lt;/P&gt;
&lt;P&gt;Resident HospitalMedicine;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also change the DS_Dictator field name of your Hospitals table to "HospID".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2016 00:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121252#M369542</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-07-09T00:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121253#M369543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it sounds like the literal answer to my question is "no"--you can't join tables in QlikView more than once?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can, but it's a bad idea because...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 18:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121253#M369543</guid>
      <dc:creator>Margaret</dc:creator>
      <dc:date>2016-07-12T18:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Join tables multiple times</title>
      <link>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121254#M369544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can load the same Hospitalists table multiple times using different (role specific) table and field names.&lt;/P&gt;&lt;P&gt;Your specified function to be able to click on one person to see all corresponding visits regardless of the hospitalist role suggests another solution though. That's why you received solutions that implement your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close your thread, if your question is answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-tables-multiple-times/m-p/1121254#M369544</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-07-12T21:39:30Z</dc:date>
    </item>
  </channel>
</rss>

