<?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 a new field based on two fields in separate tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254112#M849304</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;You need to concatenate &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Origin and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Destination columns in the script by joining or concatenating the two tables depending on the key.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 09:00:56 GMT</pubDate>
    <dc:creator>aapurva09</dc:creator>
    <dc:date>2017-03-22T09:00:56Z</dc:date>
    <item>
      <title>Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254110#M849302</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;I'm trying to create a new field based on two other fields. The fields are Origin and Destination and I want a new field called Flow that looks like:&lt;/P&gt;&lt;P&gt;Origin&amp;amp;' &amp;lt;&amp;gt; '&amp;amp;Destination&lt;/P&gt;&lt;P&gt;when Origin comes before Destination in the alphabet or:&lt;/P&gt;&lt;P&gt;Destination&amp;amp;' &amp;lt;&amp;gt;'&amp;amp;Origin&lt;/P&gt;&lt;P&gt;if it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been able to produce it as a calculated field in a table, but this causes the dashboard to slow down a lot so I'd like to create it in the Load statement instead. What's the best way to do this? The Origin and Destination fields are in two separate tables and whatever I try to write causes the Load script to fall over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254110#M849302</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254111#M849303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use JOIN CONCATENATE for the tables, then join the fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 16:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254111#M849303</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-03-21T16:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254112#M849304</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;You need to concatenate &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Origin and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Destination columns in the script by joining or concatenating the two tables depending on the key.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 09:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254112#M849304</guid>
      <dc:creator>aapurva09</dc:creator>
      <dc:date>2017-03-22T09:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254113#M849305</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;You'll need to explain what I need to do in more detail than that for me to understand it, my knowledge of QlikView is very basic &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you assume the tables are ORIGIN2 and DEST2 with the fields that I need to include called ORIGIN and DEST, how would I JOIN the two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 09:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254113#M849305</guid>
      <dc:creator />
      <dc:date>2017-03-22T09:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254114#M849306</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;If you could provide more detail on how I would do that it would be appreciated - I've explained the issue in more detail in my reply above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 09:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254114#M849306</guid>
      <dc:creator />
      <dc:date>2017-03-22T09:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254115#M849307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a mapping table between the Key field and the origin table&lt;/P&gt;&lt;P&gt;In the destination table, call the above map using applymap function to load the origin filed into it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Once you have the fields available in the target table, you could apply your if condition to create the required field&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;hth&lt;BR /&gt;Sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 12:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254115#M849307</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-22T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254116#M849308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we see a small fragment of your tables with fields so that my colleagues and I can more specifically help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 13:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254116#M849308</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-03-22T13:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on two fields in separate tables</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254117#M849309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a very small example of what I'm trying to do. I've calculated a field called Flow, but ideally I'd like to do this in the loading script as using the calculated field can be slow with the actual amount of data it uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 13:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-two-fields-in-separate-tables/m-p/1254117#M849309</guid>
      <dc:creator />
      <dc:date>2017-03-31T13:47:22Z</dc:date>
    </item>
  </channel>
</rss>

