<?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 AW:Re: Problem while exporting to EXCEL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209425#M64421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to use the alt function&lt;/P&gt;&lt;P&gt;alt(Num#(SINGLE_FIELD,'#'),'Invalid Number')&lt;/P&gt;&lt;P&gt;You can have multiple checks in this. The last parameter is used for if everything else fails. The same can be done for date formats.&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2010 11:42:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-21T11:42:08Z</dc:date>
    <item>
      <title>Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209418#M64414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I have this tiny attached QVW file with only a SINGLE_FIELD.&lt;/P&gt;&lt;P&gt;When I view this SINGLE_FIELD inside QV itself, it works fine.&lt;/P&gt;&lt;P&gt;However, when I export this field to EXCEL, I have an error on the field value (it's altered).&lt;/P&gt;&lt;P&gt;Guess it's because I'm using the NUM#() function to load the field. The idea is to "force" the field to be loaded as numeric, ALWAYS.&lt;/P&gt;&lt;P&gt;Hope someone else can help me out with this problem !&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2010 17:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209418#M64414</guid>
      <dc:creator />
      <dc:date>2010-01-12T17:48:23Z</dc:date>
    </item>
    <item>
      <title>Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209419#M64415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried your sample application and tried to export it to Excel:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7853.capture_5F00_excel.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7853.capture_5F00_excel.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;No error.&lt;BR /&gt;By the way, the num# cannot be the problem during export because you are using the num# in the load-scripts which is finished after loading &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe you should give it a new try or post here more details on your "error" ...&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209419#M64415</guid>
      <dc:creator />
      <dc:date>2010-01-20T07:30:06Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209420#M64416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;that a true error, not? The Value in QV is 7346076854.&lt;/P&gt;&lt;P&gt;I need the source file to test the thing. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have Fun with QV&lt;/P&gt;&lt;P&gt;Alex:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 08:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209420#M64416</guid>
      <dc:creator />
      <dc:date>2010-01-20T08:54:49Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209421#M64417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the original value is not negative as it is shown in Excel !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached original file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 19:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209421#M64417</guid>
      <dc:creator />
      <dc:date>2010-01-20T19:19:49Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209422#M64418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently you are using&lt;/P&gt;&lt;P&gt;NUM#(SINGLE_FIELD) AS SINGLE_FIELD&lt;/P&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;NUM#(SINGLE_FIELD,'#') AS SINGLE_FIELD&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 00:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209422#M64418</guid>
      <dc:creator />
      <dc:date>2010-01-21T00:24:05Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209423#M64419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much ! It works.&lt;/P&gt;&lt;P&gt;But I'd like to understand what's going on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 11:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209423#M64419</guid>
      <dc:creator />
      <dc:date>2010-01-21T11:04:03Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209424#M64420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fact is that I load my data from CSV files and I'd like to detect invalid content during script load.&lt;/P&gt;&lt;P&gt;Say that I have a supposed numeric field on my CSV file. I dont trust that much that all of the records will contain a numeric content for this field.&lt;/P&gt;&lt;P&gt;So I have applied this syntax for this field load :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(SINGLE_FIELD = '','',IF(ISNUM(NUM#(SINGLE_FIELD,'#')),NUM#(SINGLE_FIELD,'#'),'INVALID NUMBER')) AS SINGLE_FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that correct ? Is this the best syntax for this sort of error detection ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also do the same for Date fields , like this :&lt;/P&gt;&lt;P&gt;IF(SINGLE_FIELD = '','',IF(ISNUM(NUM#(SINGLE_FIELD)),NUM#(SINGLE_FIELD),'INVALID NUMBER')) AS SINGLE_FIELD&lt;/P&gt;&lt;P&gt;And for Time fields I apply this :&lt;/P&gt;&lt;P&gt;IF(TIME_FIELD = '','',IF(ISNUM(TIME#(TIME_FIELD,'hh:mm:ss')),TIME#(TIME_FIELD,'hh:mm:ss'),'INVALID TIME')) AS TIME_FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The general idea is that the invalid content "bubles up" as a string on a List Box.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 11:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209424#M64420</guid>
      <dc:creator />
      <dc:date>2010-01-21T11:25:53Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209425#M64421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to use the alt function&lt;/P&gt;&lt;P&gt;alt(Num#(SINGLE_FIELD,'#'),'Invalid Number')&lt;/P&gt;&lt;P&gt;You can have multiple checks in this. The last parameter is used for if everything else fails. The same can be done for date formats.&lt;/P&gt;&lt;P&gt;Nimish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 11:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209425#M64421</guid>
      <dc:creator />
      <dc:date>2010-01-21T11:42:08Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Problem while exporting to EXCEL</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209426#M64422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! Great ! Great !&lt;/P&gt;&lt;P&gt;Very aesthetic solution !&lt;/P&gt;&lt;P&gt;I knew about the ALT function but forgot to use it on this context !&lt;/P&gt;&lt;P&gt;Anyway, once more, thank you so much !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2010 12:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-while-exporting-to-EXCEL/m-p/209426#M64422</guid>
      <dc:creator />
      <dc:date>2010-01-21T12:15:29Z</dc:date>
    </item>
  </channel>
</rss>

