<?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: error message when creating a link table in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959906#M11129</link>
    <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6188"&gt;@sidhiq91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my link table, I now have fields that are the same but with different name. For example, in the link table, I have the fields Entity, Region, Country and Country Name (from different fact tables) that are the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I have not renamed them, is there a way to merge these fields in one single column in my link table?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 10:48:36 GMT</pubDate>
    <dc:creator>chrisjad</dc:creator>
    <dc:date>2022-07-25T10:48:36Z</dc:date>
    <item>
      <title>error message when creating a link table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959621#M11122</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create a link table which will have all the composite keys from the different fact tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I m getting an error message: &lt;EM&gt;The following error occurred: Field 'Region' not found. The error occurred here: NoConcatenate......&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Somehow, I can't understand the reason.&lt;/P&gt;
&lt;P&gt;Could someone help me with this issue?&lt;/P&gt;
&lt;P&gt;Below is my script:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LOAD:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Annual_Forest_Expansion:&lt;BR /&gt;LOAD Entity&amp;amp;'|'&amp;amp;Code&amp;amp;'|'&amp;amp;"Year" as Key1,&lt;BR /&gt;Entity,&lt;BR /&gt;Code,&lt;BR /&gt;"Year",&lt;BR /&gt;"Forest expansion"&lt;BR /&gt;FROM [lib://DataFiles/annual-forest-expansion.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Forest_Area_Share_of_Land_Area:&lt;BR /&gt;LOAD Entity&amp;amp;'|'&amp;amp;Code&amp;amp;'|'&amp;amp;"Year" as Key2,&lt;BR /&gt;Entity,&lt;BR /&gt;Code,&lt;BR /&gt;"Year",&lt;BR /&gt;"Forest cover"&lt;BR /&gt;FROM [lib://DataFiles/forest-area-as-share-of-land-area.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;EU_paperboard_production:&lt;BR /&gt;LOAD Region&amp;amp;'|'&amp;amp;"Year" as Key3,&lt;BR /&gt;Region as Entity,&lt;BR /&gt;"Year",&lt;BR /&gt;Value as ValuePP&lt;BR /&gt;FROM [lib://DataFiles/Paper_paperboard_production_unpivoted.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Belgium_meat_consuption:&lt;BR /&gt;LOAD Region&amp;amp;'|'&amp;amp;"Year" as Key4,&lt;BR /&gt;Region as Entity,&lt;BR /&gt;"Year",&lt;BR /&gt;Value as ValueMC&lt;BR /&gt;FROM [lib://DataFiles/BelgiumMeatConsuption_unpivoted.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Net_deforestation_in_trade:&lt;BR /&gt;LOAD Entity&amp;amp;'|'&amp;amp;Code&amp;amp;'|'&amp;amp;"Year" as Key5,&lt;BR /&gt;Entity,&lt;BR /&gt;Code,&lt;BR /&gt;"Year",&lt;BR /&gt;net_traded_deforestation&lt;BR /&gt;FROM [lib://DataFiles/net-deforestation-in-trade (1).csv]&lt;BR /&gt;(txt, codepage is 28592, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;EU_buildings:&lt;BR /&gt;LOAD Country&amp;amp;'|'&amp;amp;"Year" as Key6,&lt;BR /&gt;Country as Entity,&lt;BR /&gt;"Year",&lt;BR /&gt;"Country code" as country_code_alpha2,&lt;BR /&gt;Value as ValueBuild&lt;BR /&gt;FROM [lib://DataFiles/eu-buildings-unpivoted.csv]&lt;BR /&gt;(txt, codepage is 28592, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Poverty_gap_at_1.90:&lt;BR /&gt;LOAD "Country Name"&amp;amp;'|'&amp;amp;"Country Code"&amp;amp;'|'&amp;amp;"Year" as Key7,&lt;BR /&gt;"Country Name" as Entity,&lt;BR /&gt;"Country Code" as Code,&lt;BR /&gt;"Year",&lt;BR /&gt;"Indicator Name",&lt;BR /&gt;"Indicator Code",&lt;BR /&gt;Value as ValuePov&lt;BR /&gt;FROM [lib://DataFiles/Poverty gap at 1.90.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tree_cover_loss_by_dominent_drivers:&lt;BR /&gt;LOAD &lt;BR /&gt;"Year" as key8,&lt;BR /&gt;"Year",&lt;BR /&gt;DriverType,&lt;BR /&gt;TreeCoverLoss_ha as TreeCoverLoss_haDr,&lt;BR /&gt;GrossEmissions_Co2_all_gases_Mg as GrossEmissions_Co2_all_gases_MgDr&lt;BR /&gt;FROM [lib://DataFiles/TreeCoverLoss_2001-2020_DominantDrivers.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tree_cover_loss_by_region:&lt;BR /&gt;LOAD CountryCode&amp;amp;'|'&amp;amp;"Year" as Key9,&lt;BR /&gt;CountryCode as Code,&lt;BR /&gt;"Year",&lt;BR /&gt;TreeCoverLoss_ha as TreeCoverLoss_haRe,&lt;BR /&gt;GrossEmissions_Co2_all_gases_Mg as GrossEmissions_Co2_all_gases_MgRe&lt;BR /&gt;FROM [lib://DataFiles/TreeCoverLoss_2001-2020_ByRegion.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Tree_cover_loss_in_primary_forest:&lt;BR /&gt;LOAD CountryCode&amp;amp;'|'&amp;amp;"Year" as Key10,&lt;BR /&gt;CountryCode as Code,&lt;BR /&gt;"Year",&lt;BR /&gt;TreeCoverLoss_ha as TreeCoverLoss_haPF,&lt;BR /&gt;GrossEmissions_Co2_all_gases_Mg as GrossEmissions_Co2_all_gases_MgPF&lt;BR /&gt;FROM [lib://DataFiles/TreeCoverLoss_2001-2020 _InPrimaryForest.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Temp Table:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;tmp_keytable:&lt;BR /&gt;load distinct&lt;BR /&gt;Entity,&lt;BR /&gt;Code,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/annual-forest-expansion.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;Entity,&lt;BR /&gt;Code,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/forest-area-as-share-of-land-area.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;Region as Entity,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/Paper_paperboard_production_unpivoted.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;Region as Entity,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/BelgiumMeatConsuption_unpivoted.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;Entity,&lt;BR /&gt;Code,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/net-deforestation-in-trade (1).csv]&lt;BR /&gt;(txt, codepage is 28592, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;Country as Entity,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/eu-buildings-unpivoted.csv]&lt;BR /&gt;(txt, codepage is 28592, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;"Country Name" as Entity,&lt;BR /&gt;"Country Code" as Code,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/Poverty gap at 1.90.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/TreeCoverLoss_2001-2020_DominantDrivers.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;CountryCode as Code,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/TreeCoverLoss_2001-2020_ByRegion.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate(tmp_keytable)&lt;BR /&gt;load Distinct&lt;BR /&gt;CountryCode as Code,&lt;BR /&gt;"Year"&lt;BR /&gt;FROM [lib://DataFiles/TreeCoverLoss_2001-2020 _InPrimaryForest.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Key Table:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Keytable:&lt;BR /&gt;Load Distinct *,&lt;BR /&gt;Entity&amp;amp;'|'&amp;amp;Code&amp;amp;'|'&amp;amp;"Year" as Key1,&lt;BR /&gt;Entity&amp;amp;'|'&amp;amp;Code&amp;amp;'|'&amp;amp;"Year" as Key2,&lt;BR /&gt;Region&amp;amp;'|'&amp;amp;"Year" as Key3,&lt;BR /&gt;Region&amp;amp;'|'&amp;amp;"Year" as Key4,&lt;BR /&gt;Entity&amp;amp;'|'&amp;amp;Code&amp;amp;'|'&amp;amp;"Year" as Key5,&lt;BR /&gt;Country&amp;amp;'|'&amp;amp;"Year" as Key6,&lt;BR /&gt;"Country Name"&amp;amp;'|'&amp;amp;"Country Code"&amp;amp;'|'&amp;amp;"Year" as Key7,&lt;BR /&gt;"Year" as key8,&lt;BR /&gt;CountryCode&amp;amp;'|'&amp;amp;"Year" as Key9,&lt;BR /&gt;CountryCode&amp;amp;'|'&amp;amp;"Year" as Key10&lt;BR /&gt;Resident tmp_keytable;&lt;BR /&gt;Drop Table tmp_keytable;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 12:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959621#M11122</guid>
      <dc:creator>chrisjad</dc:creator>
      <dc:date>2022-07-23T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: error message when creating a link table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959733#M11124</link>
      <description>&lt;P&gt;There is no region field loaded, you have renamed Region as Entity in your previous load statements&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 23:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959733#M11124</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2022-07-24T23:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: error message when creating a link table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959762#M11125</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/159142"&gt;@chrisjad&lt;/a&gt;&amp;nbsp; adding to what&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;mentioned I see even the country has been renamed to Entity could you please correct them? Let me know if you need any further help on this.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 04:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959762#M11125</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-25T04:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: error message when creating a link table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959868#M11128</link>
      <description>&lt;P&gt;It seems I forgot to drop the fields. It is now working&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 09:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959868#M11128</guid>
      <dc:creator>chrisjad</dc:creator>
      <dc:date>2022-07-25T09:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: error message when creating a link table</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959906#M11129</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6188"&gt;@sidhiq91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my link table, I now have fields that are the same but with different name. For example, in the link table, I have the fields Entity, Region, Country and Country Name (from different fact tables) that are the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I have not renamed them, is there a way to merge these fields in one single column in my link table?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 10:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/error-message-when-creating-a-link-table/m-p/1959906#M11129</guid>
      <dc:creator>chrisjad</dc:creator>
      <dc:date>2022-07-25T10:48:36Z</dc:date>
    </item>
  </channel>
</rss>

