<?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 Why can't I use applymap on a CSV load? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53092#M8829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have an applymap function in my QLikView application that loads a CSV file. Before it was an Exel file and the function worked correctly. Now I converted my Excel files to CSV files and run into an error. My code is:&lt;BR /&gt;&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;&lt;SPAN style="font-size: 13.3333px;"&gt;MapAanpassingen_data_NAW:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mapping LOAD [waarde-in] as [waarde-in1], [waarde-uit] as [waarde-uit1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM [Aanpassingen data alle tabellen.xlsx] (ooxml, embedded labels, table is Blad1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where (sheet &amp;lt;&amp;gt; 'NAV' and actie &amp;lt;&amp;gt; 'delete');&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;&lt;SPAN style="font-size: 13.3333px;"&gt;NAW1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;applymap('MapAanpassingen_data_NAW', zoeknaam, zoeknaam) as zoeknaam,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;geslacht, H_PC, geboortedatum, land&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM [171220 NAW.csv] (txt, utf8, embedded labels, delimiter is ';', msq)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where len(applymap('MapAanpassingen_data_NAW', zoeknaam, null())) &amp;gt;= 1;&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;&lt;SPAN style="font-size: 13.3333px;"&gt;The error that I recieve is :&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;File format error&lt;/P&gt;&lt;P&gt;Unsupported or bad format in BIFF file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things that I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using the 171220 NAW.xls file with exactly the same data and field names &amp;gt; succesfullly&lt;/LI&gt;&lt;LI&gt;Create a table with the content of the file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD zoeknaam, geslacht, H_PC, geboortedatum, land&lt;/P&gt;&lt;P&gt;FROM [171220 NAW.csv] (txt, utf8, embedded labels, delimiter is ';', msq); &amp;gt; succesfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the reason of this error and how to solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 09:30:21 GMT</pubDate>
    <dc:creator>qlikmark1990</dc:creator>
    <dc:date>2018-02-20T09:30:21Z</dc:date>
    <item>
      <title>Why can't I use applymap on a CSV load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53092#M8829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have an applymap function in my QLikView application that loads a CSV file. Before it was an Exel file and the function worked correctly. Now I converted my Excel files to CSV files and run into an error. My code is:&lt;BR /&gt;&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;&lt;SPAN style="font-size: 13.3333px;"&gt;MapAanpassingen_data_NAW:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Mapping LOAD [waarde-in] as [waarde-in1], [waarde-uit] as [waarde-uit1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM [Aanpassingen data alle tabellen.xlsx] (ooxml, embedded labels, table is Blad1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where (sheet &amp;lt;&amp;gt; 'NAV' and actie &amp;lt;&amp;gt; 'delete');&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;&lt;SPAN style="font-size: 13.3333px;"&gt;NAW1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;applymap('MapAanpassingen_data_NAW', zoeknaam, zoeknaam) as zoeknaam,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;geslacht, H_PC, geboortedatum, land&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM [171220 NAW.csv] (txt, utf8, embedded labels, delimiter is ';', msq)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where len(applymap('MapAanpassingen_data_NAW', zoeknaam, null())) &amp;gt;= 1;&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;&lt;SPAN style="font-size: 13.3333px;"&gt;The error that I recieve is :&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;File format error&lt;/P&gt;&lt;P&gt;Unsupported or bad format in BIFF file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things that I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using the 171220 NAW.xls file with exactly the same data and field names &amp;gt; succesfullly&lt;/LI&gt;&lt;LI&gt;Create a table with the content of the file&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD zoeknaam, geslacht, H_PC, geboortedatum, land&lt;/P&gt;&lt;P&gt;FROM [171220 NAW.csv] (txt, utf8, embedded labels, delimiter is ';', msq); &amp;gt; succesfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the reason of this error and how to solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53092#M8829</guid>
      <dc:creator>qlikmark1990</dc:creator>
      <dc:date>2018-02-20T09:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use applymap on a CSV load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53093#M8830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that somewhere in your code, someone is still trying to read an old-style XLS file (BIFF). Are you sure all option strings have been modified when switching from Excel format to CSV format? Maybe you are creating another Mapping table where you changed the source file name, but forgot to change the option string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53093#M8830</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-20T11:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use applymap on a CSV load?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53094#M8831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for your reply. Indeed, somewhere else in my script I was still trying to read an XLS file instead of CSV file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-can-t-I-use-applymap-on-a-CSV-load/m-p/53094#M8831</guid>
      <dc:creator>qlikmark1990</dc:creator>
      <dc:date>2018-02-20T12:16:37Z</dc:date>
    </item>
  </channel>
</rss>

