<?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: Extract data from files with same format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-data-from-files-with-same-format/m-p/582157#M1107349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you load data from a source that has exactly the same number of fields with exactly the same field names as an existing table (from data you loaded earlier) then the data from the second load is appended to the first. It sounds like that is what happened in your case. This is usually a very good thing. But to be able to keep track of which data came from which source it's a good idea to create an additional Source field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;Load *,&lt;STRONG&gt;&lt;EM&gt; 'Source A' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceA;&lt;/P&gt;&lt;P&gt;Load *, &lt;STRONG&gt;&lt;EM&gt;'Source B' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceB;&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at you screenshots it looks like you may want to use the Crosstable function too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;CrossTable(Month,Value,2)&lt;/P&gt;&lt;P&gt;Load [Program Number],&lt;STRONG&gt;&lt;EM&gt; 'Source A' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceA;&lt;/P&gt;&lt;P&gt;CrossTable(Month,Value,2)&lt;/P&gt;&lt;P&gt;Load [Program Number],&lt;STRONG&gt;&lt;EM&gt; 'Source B' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceB;&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 16:48:43 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-03-31T16:48:43Z</dc:date>
    <item>
      <title>Extract data from files with same format</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-data-from-files-with-same-format/m-p/582156#M1107348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a simple QV with program data including revenue, forecast, upside, and downside values over one year.&amp;nbsp; I created excel tables with months across the columns and rows per program with values in cells, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="table.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56261_table.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;I have one file each for revenue, forecast, upside, and downside, and I have a file with program info that has program number along with other metadata on the program.&amp;nbsp; However, when adding files via the script editor, my model only shows program info and the first file loaded with financial data, not all of revenue, forecast, upside, and downside.&amp;nbsp; Is this because the row and column headings are the same across the files?&amp;nbsp; How should I create the spreadsheet to create a good mockup QV to demo financial reports?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="model.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56262_model.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-data-from-files-with-same-format/m-p/582156#M1107348</guid>
      <dc:creator />
      <dc:date>2014-03-31T16:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from files with same format</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-data-from-files-with-same-format/m-p/582157#M1107349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you load data from a source that has exactly the same number of fields with exactly the same field names as an existing table (from data you loaded earlier) then the data from the second load is appended to the first. It sounds like that is what happened in your case. This is usually a very good thing. But to be able to keep track of which data came from which source it's a good idea to create an additional Source field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;Load *,&lt;STRONG&gt;&lt;EM&gt; 'Source A' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceA;&lt;/P&gt;&lt;P&gt;Load *, &lt;STRONG&gt;&lt;EM&gt;'Source B' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceB;&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at you screenshots it looks like you may want to use the Crosstable function too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;CrossTable(Month,Value,2)&lt;/P&gt;&lt;P&gt;Load [Program Number],&lt;STRONG&gt;&lt;EM&gt; 'Source A' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceA;&lt;/P&gt;&lt;P&gt;CrossTable(Month,Value,2)&lt;/P&gt;&lt;P&gt;Load [Program Number],&lt;STRONG&gt;&lt;EM&gt; 'Source B' as Source&lt;/EM&gt;&lt;/STRONG&gt; from sourceB;&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 16:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-data-from-files-with-same-format/m-p/582157#M1107349</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-03-31T16:48:43Z</dc:date>
    </item>
  </channel>
</rss>

