<?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 Between IN Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736295#M56280</link>
    <description>&lt;P&gt;Thank You for your reply .&lt;/P&gt;&lt;P&gt;I understand your answer for the problem.&lt;/P&gt;&lt;P&gt;Do i&amp;nbsp; understand correctly&amp;nbsp; there no simple way&amp;nbsp;&lt;/P&gt;&lt;P&gt;like in SQL :&amp;nbsp;&lt;/P&gt;&lt;P&gt;---- ****----&lt;/P&gt;&lt;P&gt;"Left Join&amp;nbsp;&lt;/P&gt;&lt;P&gt;on Age between Age_Min and Age_Max&amp;nbsp; " ?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 08:50:27 GMT</pubDate>
    <dc:creator>ilyakoch</dc:creator>
    <dc:date>2020-08-17T08:50:27Z</dc:date>
    <item>
      <title>Join Between IN Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736283#M56277</link>
      <description>&lt;P&gt;Hello .&lt;/P&gt;&lt;P&gt;I have a Table with Customer data&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Table with Max Min&amp;nbsp; years&amp;nbsp; &amp;nbsp;for&amp;nbsp; Age Category&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customers:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;CustomerID, First_Name, Last_Name, Age&lt;BR /&gt;1, Abi, Nabi, 27,&lt;BR /&gt;14, Wallter, Botler, 18,&lt;BR /&gt;28, Bob, Rob, 43,&lt;BR /&gt;125, Alice, Talice, 12,&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Age_Categories:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Age_Min , Age_Max, Age_Category_Name,&lt;BR /&gt;0, 2, Infant,&lt;BR /&gt;3, 6, L_Child,&lt;BR /&gt;7, 12, M_Child,&lt;BR /&gt;12, 15, Tenager,&lt;BR /&gt;16, 20, Yong1,&lt;BR /&gt;21, 27, Young2,&lt;BR /&gt;28, 35, Young3,&lt;BR /&gt;36, 42, Adult1,&lt;BR /&gt;43, 55, Adult2,&lt;BR /&gt;56, 67, Adult3,&lt;BR /&gt;68, 78, Pensioner,&lt;BR /&gt;78, 199, Elder,&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I need to Bring Age_Category_Name to&amp;nbsp; each Customer based&amp;nbsp; on age .&lt;/P&gt;&lt;P&gt;Thank you In Advance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736283#M56277</guid>
      <dc:creator>ilyakoch</dc:creator>
      <dc:date>2024-11-16T01:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Join Between IN Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736289#M56279</link>
      <description>&lt;P&gt;Customers:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;CustomerID, First_Name, Last_Name, Age&lt;BR /&gt;1, Abi, Nabi, 27&lt;BR /&gt;14, Wallter, Botler, 18&lt;BR /&gt;28, Bob, Rob, 43&lt;BR /&gt;125, Alice, Talice, 12&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Age_Categories:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Age_Min , Age_Max, Age_Category_Name,&lt;BR /&gt;0, 2, Infant&lt;BR /&gt;3, 6, L_Child&lt;BR /&gt;7, 12, M_Child&lt;BR /&gt;12, 15, Tenager&lt;BR /&gt;16, 20, Yong1&lt;BR /&gt;21, 27, Young2&lt;BR /&gt;28, 35, Young3&lt;BR /&gt;36, 42, Adult1&lt;BR /&gt;43, 55, Adult2&lt;BR /&gt;56, 67, Adult3&lt;BR /&gt;68, 78, Pensioner&lt;BR /&gt;78, 199, Elder&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;INTERVALMATCH(Age)&lt;BR /&gt;LEFT JOIN (Customers)&lt;BR /&gt;LOAD&lt;BR /&gt;Age_Min,&lt;BR /&gt;Age_Max&lt;BR /&gt;RESIDENT Age_Categories;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to do an Intervalmatch. One thing is that you have 12 for M_Child and Teenager which will result in a duplicate row because customer "Alice Talice" is 12 years old and falls in both categories.&lt;/P&gt;&lt;P&gt;Below script is meant to take care that synthetic key that is created when intervalmatching:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customers:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;CustomerID, First_Name, Last_Name, Age&lt;BR /&gt;1, Abi, Nabi, 27&lt;BR /&gt;14, Wallter, Botler, 18&lt;BR /&gt;28, Bob, Rob, 43&lt;BR /&gt;125, Alice, Talice, 12&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Age_Categories:&lt;BR /&gt;LOAD *,&lt;BR /&gt;Age_Min &amp;amp; '|' &amp;amp; Age_Max as Age.#key;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;Age_Min , Age_Max, Age_Category_Name,&lt;BR /&gt;0, 2, Infant&lt;BR /&gt;3, 6, L_Child&lt;BR /&gt;7, 12, M_Child&lt;BR /&gt;12, 15, Tenager&lt;BR /&gt;16, 20, Yong1&lt;BR /&gt;21, 27, Young2&lt;BR /&gt;28, 35, Young3&lt;BR /&gt;36, 42, Adult1&lt;BR /&gt;43, 55, Adult2&lt;BR /&gt;56, 67, Adult3&lt;BR /&gt;68, 78, Pensioner&lt;BR /&gt;78, 199, Elder&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;INTERVALMATCH(Age)&lt;BR /&gt;LEFT JOIN (Customers)&lt;BR /&gt;LOAD&lt;BR /&gt;Age_Min,&lt;BR /&gt;Age_Max&lt;BR /&gt;RESIDENT Age_Categories;&lt;/P&gt;&lt;P&gt;Customers2:&lt;BR /&gt;LOAD *,&lt;BR /&gt;Age_Min &amp;amp; '|' &amp;amp; Age_Max as Age.#key&lt;BR /&gt;RESIDENT Customers;&lt;/P&gt;&lt;P&gt;DROP TABLE Customers;&lt;BR /&gt;DROP FIELDS Age_Min,Age_Max FROM Customers2;&lt;BR /&gt;RENAME TABLE Customers2 TO Customers;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 07:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736289#M56279</guid>
      <dc:creator>RsQK</dc:creator>
      <dc:date>2020-08-17T07:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Join Between IN Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736295#M56280</link>
      <description>&lt;P&gt;Thank You for your reply .&lt;/P&gt;&lt;P&gt;I understand your answer for the problem.&lt;/P&gt;&lt;P&gt;Do i&amp;nbsp; understand correctly&amp;nbsp; there no simple way&amp;nbsp;&lt;/P&gt;&lt;P&gt;like in SQL :&amp;nbsp;&lt;/P&gt;&lt;P&gt;---- ****----&lt;/P&gt;&lt;P&gt;"Left Join&amp;nbsp;&lt;/P&gt;&lt;P&gt;on Age between Age_Min and Age_Max&amp;nbsp; " ?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Join-Between-IN-Qlik-Sense/m-p/1736295#M56280</guid>
      <dc:creator>ilyakoch</dc:creator>
      <dc:date>2020-08-17T08:50:27Z</dc:date>
    </item>
  </channel>
</rss>

