<?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 Join challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367247#M136539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does every patient have an InsuranceID? And are all InsuranceIDs in the second table? If so, just let QlikView do the join on InsuranceID for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 10:39:53 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-04-25T10:39:53Z</dc:date>
    <item>
      <title>Join challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367246#M136538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I have a table called Patients with the following fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;PatientID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;LastName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;FirstName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;InsuranceID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Balance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;There isanother table called Collector with the following fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;InsuranceID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;CollectorName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;PatientRange – This column contains range using the first character of&amp;nbsp; Patient’s Last Name. For example, A – C,&amp;nbsp; which means this collector is responsible forpatients whose last name begins with A B or C..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Any idea howto join the two table? The join should include InsuranceID and Patient name/range.Thanks in advance for you help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 10:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367246#M136538</guid>
      <dc:creator />
      <dc:date>2012-04-25T10:34:49Z</dc:date>
    </item>
    <item>
      <title>Join challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367247#M136539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does every patient have an InsuranceID? And are all InsuranceIDs in the second table? If so, just let QlikView do the join on InsuranceID for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 10:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367247#M136539</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-25T10:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Join challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367248#M136540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paitient:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;InsuranceID &amp;amp; '-' &amp;amp; left(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;LastName,1) as link&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Collector:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;InsuranceID &amp;amp; '-' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;PatientRange as link&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Edit:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Just saw that the field holds A-C not A B C. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;What you could do is create a flag depending on the ranges. If you have a fixed amount you can do an if statement to do like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;PatientRange='A-C',1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;PatientRange ='D-F',2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;ETC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;and do match in the paitent table like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;if(match(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;left(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;LastName,1),'A','B','C'),1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;if(match(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;left(&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;LastName,1),'D','E','F'),2&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 10:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-challenge/m-p/367248#M136540</guid>
      <dc:creator />
      <dc:date>2012-04-25T10:47:40Z</dc:date>
    </item>
  </channel>
</rss>

