<?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: Creating Key that will be linked to 2 fields in the table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905177#M1217878</link>
    <description>&lt;P&gt;Such problems are best solved by creating a data model that represents the logic you want; i.e. you need to change the script. In your example, the solution is probably to create a third field "Branch" that contains the values of both "Branch1" and "Branch2":&lt;/P&gt;&lt;P&gt;Load &amp;lt;SomeAppropriateKey&amp;gt;, Branch1 as Branch Resident ...&lt;BR /&gt;Load &amp;lt;SomeAppropriateKey&amp;gt;, Branch2 as Branch Resident ...&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578&lt;/A&gt; where a similar problem for dates is solved this way.&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 08:55:44 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2022-03-15T08:55:44Z</dc:date>
    <item>
      <title>Creating Key that will be linked to 2 fields in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905103#M1217877</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please assist,I have two fields branch1 and Branch2 i would like to make a selection from another field that will produce the results of data associated with the selected branch on both branches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g see below example,if i select branch=1,i would like to see everything associated with Branch =1 on both Branch1 and Branch2 fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ditshele_0-1647327380484.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74455i707A442D2577453C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ditshele_0-1647327380484.png" alt="Ditshele_0-1647327380484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 07:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905103#M1217877</guid>
      <dc:creator>Ditshele</dc:creator>
      <dc:date>2022-03-15T07:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Key that will be linked to 2 fields in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905177#M1217878</link>
      <description>&lt;P&gt;Such problems are best solved by creating a data model that represents the logic you want; i.e. you need to change the script. In your example, the solution is probably to create a third field "Branch" that contains the values of both "Branch1" and "Branch2":&lt;/P&gt;&lt;P&gt;Load &amp;lt;SomeAppropriateKey&amp;gt;, Branch1 as Branch Resident ...&lt;BR /&gt;Load &amp;lt;SomeAppropriateKey&amp;gt;, Branch2 as Branch Resident ...&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578&lt;/A&gt; where a similar problem for dates is solved this way.&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 08:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905177#M1217878</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-03-15T08:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Key that will be linked to 2 fields in the table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905805#M1217907</link>
      <description>&lt;P&gt;It works perfectly.T hanks!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 08:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Key-that-will-be-linked-to-2-fields-in-the-table/m-p/1905805#M1217907</guid>
      <dc:creator>Ditshele</dc:creator>
      <dc:date>2022-03-16T08:13:12Z</dc:date>
    </item>
  </channel>
</rss>

