<?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 Table 1 data into Table 2 as dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505010#M103878</link>
    <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I have two tables, which have no relationship, but I need to add info from one table into the other as a dimension.&lt;/P&gt;
&lt;P&gt;These are my input tables:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_0-1738960868613.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177337i48174D0AACA57162/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_0-1738960868613.png" alt="DEMONIO_AZUL_0-1738960868613.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_1-1738960913607.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177338iAD84A327D8D0C364/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_1-1738960913607.png" alt="DEMONIO_AZUL_1-1738960913607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And this is the desired output table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_2-1738960972304.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177339i9CB3F1522B939852/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_2-1738960972304.png" alt="DEMONIO_AZUL_2-1738960972304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The input tables come from different "owners" and have more records, I just need to know how to create the &lt;FONT color="#800080"&gt;[Desired Output]:&lt;/FONT&gt; at the load script.&lt;/P&gt;
&lt;P&gt;If it were only one project, I would have added this:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;'NBU'&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;as&lt;/FONT&gt; &lt;FONT color="#FF6600"&gt;[Project Acronym]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;when loading &lt;FONT color="#800080"&gt;[Systems Data]:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;But since this value &lt;FONT color="#FF6600"&gt;[Acronym]&lt;/FONT&gt; can be variable and it comes from a file, I need to read it from &lt;FONT color="#800080"&gt;[Project Data]:&lt;/FONT&gt; and "append" it to &lt;FONT color="#800080"&gt;[Systems Data]:&lt;/FONT&gt; somehow. However, since there is no field that can provide a link between the two input tables, no &lt;FONT color="#0000FF"&gt;JOIN&lt;/FONT&gt; works.&lt;/P&gt;
&lt;P&gt;Any ideas will be appreciated!&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 20:51:39 GMT</pubDate>
    <dc:creator>DEMONIO_AZUL</dc:creator>
    <dc:date>2025-02-07T20:51:39Z</dc:date>
    <item>
      <title>Table 1 data into Table 2 as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505010#M103878</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I have two tables, which have no relationship, but I need to add info from one table into the other as a dimension.&lt;/P&gt;
&lt;P&gt;These are my input tables:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_0-1738960868613.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177337i48174D0AACA57162/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_0-1738960868613.png" alt="DEMONIO_AZUL_0-1738960868613.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_1-1738960913607.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177338iAD84A327D8D0C364/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_1-1738960913607.png" alt="DEMONIO_AZUL_1-1738960913607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And this is the desired output table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_2-1738960972304.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177339i9CB3F1522B939852/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_2-1738960972304.png" alt="DEMONIO_AZUL_2-1738960972304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The input tables come from different "owners" and have more records, I just need to know how to create the &lt;FONT color="#800080"&gt;[Desired Output]:&lt;/FONT&gt; at the load script.&lt;/P&gt;
&lt;P&gt;If it were only one project, I would have added this:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;'NBU'&lt;/FONT&gt; &lt;FONT color="#0000FF"&gt;as&lt;/FONT&gt; &lt;FONT color="#FF6600"&gt;[Project Acronym]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;when loading &lt;FONT color="#800080"&gt;[Systems Data]:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;But since this value &lt;FONT color="#FF6600"&gt;[Acronym]&lt;/FONT&gt; can be variable and it comes from a file, I need to read it from &lt;FONT color="#800080"&gt;[Project Data]:&lt;/FONT&gt; and "append" it to &lt;FONT color="#800080"&gt;[Systems Data]:&lt;/FONT&gt; somehow. However, since there is no field that can provide a link between the two input tables, no &lt;FONT color="#0000FF"&gt;JOIN&lt;/FONT&gt; works.&lt;/P&gt;
&lt;P&gt;Any ideas will be appreciated!&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 20:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505010#M103878</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-02-07T20:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table 1 data into Table 2 as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505040#M103881</link>
      <description>&lt;P&gt;You could try to do a full outer join.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Output:&lt;BR /&gt;LOAD * inline [&lt;BR /&gt;Name, Acronym&lt;BR /&gt;New building,NBU&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;JOIN (Output)&lt;BR /&gt;LOAD * inline [&lt;BR /&gt;Systems,Scope&lt;BR /&gt;Sys1, HVAC&lt;BR /&gt;Sys2, ACcess control&lt;BR /&gt;Sys3, Water piping&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 14:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505040#M103881</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-02-08T14:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table 1 data into Table 2 as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505042#M103882</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;then one from&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;is a perfect solution.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;you could use also &lt;BR /&gt;// Load Project Data and store the Acronym into a variable&lt;BR /&gt;ProjectData:&lt;BR /&gt;LOAD &lt;BR /&gt;Acronym AS ProjectAcronym&lt;BR /&gt;FROM [ProjectData.xlsx] &lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;// Store the Acronym in a variable&lt;BR /&gt;LET vProjectAcronym = Peek('ProjectAcronym', 0, 'ProjectData');&lt;/P&gt;
&lt;P&gt;// Load Systems Data and add Project Acronym dynamically&lt;BR /&gt;SystemsData:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(vProjectAcronym)' AS [Project Acronym],&lt;BR /&gt;Systems,&lt;BR /&gt;Scope&lt;BR /&gt;FROM [SystemsData.xlsx] &lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;but it works because you have only one project, do you have multiple projects?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 15:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505042#M103882</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-08T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table 1 data into Table 2 as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505203#M103914</link>
      <description>&lt;P&gt;Thanks, Diego.&lt;/P&gt;
&lt;P&gt;What you proposed worked perfectly - the JOIN didn't because there were no common fields and the result was a bigger table with one row empty with only Acronym = RSP.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 14:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505203#M103914</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-02-10T14:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table 1 data into Table 2 as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505205#M103915</link>
      <description>&lt;P&gt;Thanks, but I had already tried the full outer JOIN and it did not work. There are no common fields between the two tables and the JOIN only added a row to [Systems Data]: adding Acronym as another column but the other two fields (Systems, Scope) were empty.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 14:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505205#M103915</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-02-10T14:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Table 1 data into Table 2 as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505208#M103918</link>
      <description>&lt;P&gt;Good! Glad it helped&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 15:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-1-data-into-Table-2-as-dimension/m-p/2505208#M103918</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-10T15:16:07Z</dc:date>
    </item>
  </channel>
</rss>

