<?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: Cross Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258253#M1194517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is include an extra column as you load your data, and populate that column with the name of the data file that the record is from.&amp;nbsp; This then enables you to determine how many records were loaded from each file.&amp;nbsp; It would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;CrossTable(&lt;EM&gt;yourparameters&lt;/EM&gt;) &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileBasename() AS DataSource,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM *.xls (biff, table is &lt;EM&gt;Your_worksheet_name&lt;/EM&gt;$, &lt;EM&gt;other parameters&lt;/EM&gt;); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RecordCounts:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSource,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(*)&lt;/P&gt;&lt;P&gt;resident MyData;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2011 23:21:09 GMT</pubDate>
    <dc:creator>gussfish</dc:creator>
    <dc:date>2011-06-01T23:21:09Z</dc:date>
    <item>
      <title>Cross Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258252#M1194516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i loading multiple *.xls cross tables and if any one file has no data on that means, suppose i load 10 *.xls Cross tables and one of them is empty.So how can i get that information that a perticular file is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 16:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258252#M1194516</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-06-01T16:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258253#M1194517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is include an extra column as you load your data, and populate that column with the name of the data file that the record is from.&amp;nbsp; This then enables you to determine how many records were loaded from each file.&amp;nbsp; It would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;MyData:&lt;/P&gt;&lt;P&gt;CrossTable(&lt;EM&gt;yourparameters&lt;/EM&gt;) &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileBasename() AS DataSource,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM *.xls (biff, table is &lt;EM&gt;Your_worksheet_name&lt;/EM&gt;$, &lt;EM&gt;other parameters&lt;/EM&gt;); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RecordCounts:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSource,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNT(*)&lt;/P&gt;&lt;P&gt;resident MyData;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Angus.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 23:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258253#M1194517</guid>
      <dc:creator>gussfish</dc:creator>
      <dc:date>2011-06-01T23:21:09Z</dc:date>
    </item>
    <item>
      <title>Cross Table</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258254#M1194518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You could use this piece of code to list all the files on a folder, according to the same string you are using to load the files: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for each File in filelist ('C:\Files\*.xls')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load '$(File)' as File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autogenerate(1) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, on the load of the XlS you can use FileName() on the load of the file, to get the file name as an extra field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like: &lt;/P&gt;&lt;P&gt;crosstable (etc... )&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;filename() as File, *&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, on the interface, you can create a chart with FILE as dimension and count(someFieldHere) to check if you get some zeros (you may need to uncheck the suppress zeros on the presentation tab) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this sounds confusing, please upload some sample files and scripts and I can write something more similar to your case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 23:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Table/m-p/258254#M1194518</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-01T23:26:53Z</dc:date>
    </item>
  </channel>
</rss>

