<?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 Issue with data load from excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938834#M956586</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;I have a requirement to upload data from multiple excel files. Which is quite simple but the challenge is I only need to load July column from 2015Jul.xls , Aug &lt;SPAN style="font-size: 13.3333px;"&gt;column from 2015Aug.xls and from the last file I need to load all the columns after that month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For example here the last month is Sep so from 2015Sep.xls we need to load all the columns from Sep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So the resulting file should have data like that in the attached image.&lt;/P&gt;&lt;P&gt;The result image is just for illustration. I'm aware we'll need to load it as a cross table because we need to report on Forecast values and on the date from the resultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone pls attach a sample qvw for this &lt;SPAN style="font-size: 13.3333px;"&gt;requirement&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 22:04:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-04T22:04:07Z</dc:date>
    <item>
      <title>Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938834#M956586</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;I have a requirement to upload data from multiple excel files. Which is quite simple but the challenge is I only need to load July column from 2015Jul.xls , Aug &lt;SPAN style="font-size: 13.3333px;"&gt;column from 2015Aug.xls and from the last file I need to load all the columns after that month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For example here the last month is Sep so from 2015Sep.xls we need to load all the columns from Sep.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So the resulting file should have data like that in the attached image.&lt;/P&gt;&lt;P&gt;The result image is just for illustration. I'm aware we'll need to load it as a cross table because we need to report on Forecast values and on the date from the resultant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone pls attach a sample qvw for this &lt;SPAN style="font-size: 13.3333px;"&gt;requirement&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 22:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938834#M956586</guid>
      <dc:creator />
      <dc:date>2015-11-04T22:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938835#M956587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Date field, first extract MonthYear and then Use Match function in load script to load only that data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 22:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938835#M956587</guid>
      <dc:creator>satishkurra</dc:creator>
      <dc:date>2015-11-04T22:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938836#M956588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But we need to do that with respect to file we are loading which I'm unable to do. Because monthyear are common in all the excel files.&lt;/P&gt;&lt;P&gt;And I'm doing a * load while loading the excel files. Since there are multiple files and new one keep adding every month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 22:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938836#M956588</guid>
      <dc:creator />
      <dc:date>2015-11-04T22:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938837#M956589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUT:&lt;/P&gt;&lt;P&gt;CROSSTABLE (YearMonth, Forecast, 3)&lt;/P&gt;&lt;P&gt;LOAD Date#(Left(Filename(),7),'YYYYMMM') as Source,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Metric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42005],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42036],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42064],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42095],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42125],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42156],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42186],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42217],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42248],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42278],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42309],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [42339]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[2015*.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Metric &amp;amp; Country &amp;amp; YearMonth as TmpKey, *, exists(TmpKey ,Metric &amp;amp; Country &amp;amp; YearMonth) as flag;&lt;/P&gt;&lt;P&gt;LOAD Metric, Country, Monthname(num#(YearMonth)) as YearMonth, Forecast, Source&lt;/P&gt;&lt;P&gt;Resident INPUT&lt;/P&gt;&lt;P&gt;WHERE num#(YearMonth) &amp;gt;= Source and not exists(TmpKey ,Metric &amp;amp; Country &amp;amp; Monthname(num#(YearMonth)))&lt;/P&gt;&lt;P&gt;ORDER BY Source desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE INPUT;&lt;/P&gt;&lt;P&gt;DROP FIELDS flag, TmpKey;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 22:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938837#M956589</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-04T22:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938838#M956590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I achieved the result in a slightly different way. But due to some reason two of the files provided by customer are not being recognized by QlikView. Can you suggest something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those files are 2015 Feb and 2015 Sep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="issue.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/104059_issue.jpg" style="height: 253px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 16:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938838#M956590</guid>
      <dc:creator />
      <dc:date>2015-11-05T16:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938839#M956591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of the wildcard * in the FROM part, you can use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;FOR Each File in filelist (vPathName &amp;amp;'*.xlsx')&lt;/P&gt;&lt;P class="Code"&gt;LOAD &lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;'$(File)' as Name, &lt;/P&gt;&lt;P class="Code"&gt;FileSize( '$(File)' ) as Size, &lt;/P&gt;&lt;P class="Code"&gt;FileTime( '$(File)' ) as FileTime&lt;/P&gt;&lt;P class="Code"&gt;autogenerate 1;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class="Code"&gt;NEXT File&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check if all file names have been read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything special with these two files? Maybe different sheet names / no data contained?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 16:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938839#M956591</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-05T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938840#M956592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help. I tried your part of code and it's returning all the files. In that case I think there is some issue with filebasename() function. The thing is, I need to use the date# in filebasename which I'm using in later part of my code.&lt;/P&gt;&lt;P&gt;But when I'm adding FileBaseName('$(File)') to your code its not returning anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 16:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938840#M956592</guid>
      <dc:creator />
      <dc:date>2015-11-05T16:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938841#M956597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's expected.&lt;/P&gt;&lt;P&gt;Most of the file functions work on the file currently being read in the table load, and there is no file source in an autogenerated table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code will open the excel files and generate a record with filename and date per input record. I assume these two files don't pipe input records to your load, then you won't see records with the file name and date, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried opening the files with using the wizard? And have you tried using the wizard with one of the 'good' files? Do you see any differences in the generated code and preview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 16:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938841#M956597</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-05T16:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938842#M956598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I did that too. They look the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 17:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938842#M956598</guid>
      <dc:creator />
      <dc:date>2015-11-05T17:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with data load from excel</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938843#M956599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then try to set up a common load statement for your excel files using the for each .. in filelist() method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to load some data, concatenating everything in one table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 17:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-data-load-from-excel/m-p/938843#M956599</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-05T17:16:04Z</dc:date>
    </item>
  </channel>
</rss>

