<?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: Mapping load - Synthetic keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091360#M932745</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;From your script, Result will have only one table . &lt;/P&gt;&lt;P&gt;Please provide full script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2016 11:34:22 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2016-03-04T11:34:22Z</dc:date>
    <item>
      <title>Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091357#M932742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What was the wrong in the below script as it creating synthetic keys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRN_TM_RISK_COUNTRY_MAP:&lt;BR /&gt;Mapping LOAD &lt;BR /&gt; COUNTRY_CODE as T_M_COUNTRY_CODE,&lt;BR /&gt; COUNTRY_NAME as T_M_COUNTRY_NAME&lt;BR /&gt;From &lt;BR /&gt;EXT_COUNTRY.qvd](qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;T_TRANSITION_MATRIX:&lt;BR /&gt;LOAD *,&lt;BR /&gt; ApplyMap('TRN_TM_RISK_COUNTRY_MAP',T_M_COUNTRY_CODE) AS T_M_COUNTRY_NAME;&lt;BR /&gt;LOAD %T_M_ID ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RISK_COUNTRY AS T_M_COUNTRY_CODE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;FROM&lt;BR /&gt;TRANSITION_MATRIX_*.qvd (qvd) ;&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/Mapping-load-Synthetic-keys/m-p/1091357#M932742</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091358#M932743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just the above code itself is creating a synthetic key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091358#M932743</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-04T11:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091359#M932744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should add the script or a&amp;nbsp; Qlik doc.&lt;/P&gt;&lt;P&gt;It's difficult to understand where your small piece of code can create a syn key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can also read this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3064"&gt;Synthetic Keys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091359#M932744</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-04T11:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091360#M932745</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;From your script, Result will have only one table . &lt;/P&gt;&lt;P&gt;Please provide full script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091360#M932745</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-04T11:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091361#M932746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Synthetic key will be formed when the tables are linked with more than one filed&lt;/STRONG&gt; ...check the fields in your data model ...&lt;STRONG&gt;using table viewer will help you to identify the &lt;STRONG style="font-size: 13.3333330154419px;"&gt;Synthetic &lt;/STRONG&gt;keys &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091361#M932746</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-04T11:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091362#M932747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have synthetic keys like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sym.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116981_Sym.PNG" style="width: 620px; height: 289px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091362#M932747</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2016-03-04T11:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091363#M932748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..or it could fail due to a closing square bracket with no corresponding opening square bracket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091363#M932748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-04T11:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091364#M932749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you can concatenate the 2 transition_matrix tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091364#M932749</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-04T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091365#M932750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;T_TRANSITION_MATRIX table and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CDM_&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;T_TRANSITION_MATRIX_31_Mar-16&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;the above code is not causing the synthetic key &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;to avoid the &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;synthetic key , you can rename the fields using &lt;STRONG&gt;as key word &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if you want to like the tables with both the fields than build a composite key for the same &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;LOAD&amp;nbsp; &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;T_M_ID &amp;amp;'-'&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;T_M_COUNTRY_CODE&amp;nbsp; as Key in both the tables and rename all the other fields &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091365#M932750</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-04T11:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping load - Synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091366#M932751</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;Its depends on your data model,&lt;/P&gt;&lt;P&gt;We can remove synthetic key by followings&lt;/P&gt;&lt;P&gt;1. Rename the fields (For Ex: in CDM.Transition_matrix_31_Mar_16, you can rename T_M_Country_Code as CDM_T_M_Country_Code)&lt;/P&gt;&lt;P&gt;2. Create a composite key like %T_M_ID &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;T_M_Country_Code As %Key in Both Tables and "remove or rename" the common fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3. You can go with concatenate the both tables&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 11:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mapping-load-Synthetic-keys/m-p/1091366#M932751</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-04T11:43:48Z</dc:date>
    </item>
  </channel>
</rss>

