<?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 Using tUnpivotRow with Excel files with different schemas in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2459983#M140754</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I've created a Job that reads an Excel file and pivots some columns to rows. So far so good.&lt;BR /&gt;This is the Excel file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_0-1717688204406.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167474i0A29C0E8ECAF439C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_0-1717688204406.png" alt="RMotta2408_0-1717688204406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Even though I'm using a dynamic schema &lt;EM&gt;&lt;STRONG&gt;(*)&lt;/STRONG&gt;&lt;/EM&gt; to read the file, I still have to know the real schema of the file so that I can configure the &lt;STRONG&gt;tExtractDynamicFields&lt;/STRONG&gt; component correctly:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_1-1717688484556.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167475iD6A08FE30758F21B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_1-1717688484556.png" alt="RMotta2408_1-1717688484556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then I use the &lt;STRONG&gt;tUnpivotRow&lt;/STRONG&gt; component like this (because these columns are always constant):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_2-1717688565539.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167476iB376BC097FB908D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_2-1717688565539.png" alt="RMotta2408_2-1717688565539.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I get the desired result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_3-1717688691758.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167477i3CA667188FEAD089/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_3-1717688691758.png" alt="RMotta2408_3-1717688691758.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thus far all is good. &lt;BR /&gt;The problem starts when I start getting Excel files with different schemas (mind you, the first 3 columns are always the same: &lt;EM&gt;Name, Surname, City&lt;/EM&gt;).&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;(*)&lt;/STRONG&gt;&lt;/EM&gt; This is why I'm using the dynamic schema to read the Excel file.&lt;BR /&gt;How do I work with these files? How do I make my Job ready for any Excel that comes with a different schema than the one I'm using in this Job?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Rui&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 15:56:04 GMT</pubDate>
    <dc:creator>RMotta2408</dc:creator>
    <dc:date>2024-06-06T15:56:04Z</dc:date>
    <item>
      <title>Using tUnpivotRow with Excel files with different schemas</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2459983#M140754</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I've created a Job that reads an Excel file and pivots some columns to rows. So far so good.&lt;BR /&gt;This is the Excel file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_0-1717688204406.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167474i0A29C0E8ECAF439C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_0-1717688204406.png" alt="RMotta2408_0-1717688204406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Even though I'm using a dynamic schema &lt;EM&gt;&lt;STRONG&gt;(*)&lt;/STRONG&gt;&lt;/EM&gt; to read the file, I still have to know the real schema of the file so that I can configure the &lt;STRONG&gt;tExtractDynamicFields&lt;/STRONG&gt; component correctly:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_1-1717688484556.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167475iD6A08FE30758F21B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_1-1717688484556.png" alt="RMotta2408_1-1717688484556.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then I use the &lt;STRONG&gt;tUnpivotRow&lt;/STRONG&gt; component like this (because these columns are always constant):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_2-1717688565539.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167476iB376BC097FB908D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_2-1717688565539.png" alt="RMotta2408_2-1717688565539.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And I get the desired result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RMotta2408_3-1717688691758.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167477i3CA667188FEAD089/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RMotta2408_3-1717688691758.png" alt="RMotta2408_3-1717688691758.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thus far all is good. &lt;BR /&gt;The problem starts when I start getting Excel files with different schemas (mind you, the first 3 columns are always the same: &lt;EM&gt;Name, Surname, City&lt;/EM&gt;).&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;(*)&lt;/STRONG&gt;&lt;/EM&gt; This is why I'm using the dynamic schema to read the Excel file.&lt;BR /&gt;How do I work with these files? How do I make my Job ready for any Excel that comes with a different schema than the one I'm using in this Job?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Rui&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 15:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2459983#M140754</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-06-06T15:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using tUnpivotRow with Excel files with different schemas</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2462546#M140816</link>
      <description>&lt;P&gt;The column name always be like this: code1, code2, code3, ... or could be any name?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2462546#M140816</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-06-14T09:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using tUnpivotRow with Excel files with different schemas</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2462550#M140817</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/257838"&gt;@Shicong_Hong&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Could be any name.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Rui&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 09:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tUnpivotRow-with-Excel-files-with-different-schemas/m-p/2462550#M140817</guid>
      <dc:creator>RMotta2408</dc:creator>
      <dc:date>2024-06-14T09:48:37Z</dc:date>
    </item>
  </channel>
</rss>

