<?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 QV Script - Creating a &amp;quot;Unique&amp;quot; field using multiple fields from multiple existing tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-Script-Creating-a-quot-Unique-quot-field-using-multiple/m-p/237430#M88487</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;Am trying to create a unique field, which is derived from fields that are initially found in multiple tables. My syntax is as follows:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;RSTable:&lt;BR /&gt;Load Euros as SpendEuros,&lt;BR /&gt;SupplierID as SupplierIDvRS,&lt;BR /&gt;MatDescID&lt;BR /&gt;RESIDENT Purchases;&lt;/P&gt;&lt;P&gt;left join (RSTable)&lt;BR /&gt;Load MatDescID,&lt;BR /&gt;Family as RSFamily&lt;BR /&gt;Resident Materials;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(Family &amp;amp; '-' &amp;amp; SupplierID) as Unique&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The script above works fine, up until the "Unique" definition (last line of script above).&lt;/P&gt;&lt;P&gt;Looking at previous examples from the Developer 1 course, typically an "SQL Select *" statement and "From" are included, following this - although unsure if its relevant here / can't get it to work...?&lt;/P&gt;&lt;P&gt;Any ideas as to where I am going wrong?&lt;/P&gt;&lt;P&gt;Please advise,&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2011 15:17:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-03T15:17:24Z</dc:date>
    <item>
      <title>QV Script - Creating a "Unique" field using multiple fields from multiple existing tables</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Script-Creating-a-quot-Unique-quot-field-using-multiple/m-p/237430#M88487</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;Am trying to create a unique field, which is derived from fields that are initially found in multiple tables. My syntax is as follows:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;RSTable:&lt;BR /&gt;Load Euros as SpendEuros,&lt;BR /&gt;SupplierID as SupplierIDvRS,&lt;BR /&gt;MatDescID&lt;BR /&gt;RESIDENT Purchases;&lt;/P&gt;&lt;P&gt;left join (RSTable)&lt;BR /&gt;Load MatDescID,&lt;BR /&gt;Family as RSFamily&lt;BR /&gt;Resident Materials;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(Family &amp;amp; '-' &amp;amp; SupplierID) as Unique&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;The script above works fine, up until the "Unique" definition (last line of script above).&lt;/P&gt;&lt;P&gt;Looking at previous examples from the Developer 1 course, typically an "SQL Select *" statement and "From" are included, following this - although unsure if its relevant here / can't get it to work...?&lt;/P&gt;&lt;P&gt;Any ideas as to where I am going wrong?&lt;/P&gt;&lt;P&gt;Please advise,&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 15:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Script-Creating-a-quot-Unique-quot-field-using-multiple/m-p/237430#M88487</guid>
      <dc:creator />
      <dc:date>2011-03-03T15:17:24Z</dc:date>
    </item>
    <item>
      <title>QV Script - Creating a "Unique" field using multiple fields from multiple existing tables</title>
      <link>https://community.qlik.com/t5/QlikView/QV-Script-Creating-a-quot-Unique-quot-field-using-multiple/m-p/237431#M88488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich,&lt;/P&gt;&lt;P&gt;Just a question of syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;FamilySupplierMap:MAPPING LOAD MatDescID, SupplierIDRESIDENT Purchases; STable:Load Euros as SpendEuros,SupplierID as SupplierIDvRS, MatDescIDRESIDENT Purchases; left join (RSTable)Load MatDescID,Family as RSFamily&lt;STRONG&gt;,(Family &amp;amp; '-' &amp;amp; ApplyMap('FamilySupplierMap', MatDescID)) as Unique&lt;/STRONG&gt;Resident Materials;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 15:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-Script-Creating-a-quot-Unique-quot-field-using-multiple/m-p/237431#M88488</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-03T15:24:47Z</dc:date>
    </item>
  </channel>
</rss>

