<?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 SQL View export to excel, changed number formats in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773582#M665633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to use excels as development sources. Access to the database is not possible.&lt;/P&gt;&lt;P&gt;These excels are created by exports from a sql server view.&lt;/P&gt;&lt;P&gt;The latest excel I received loads dates and number different from previous excels and therefore the data is not calculated right. Also, special characters are shown different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect this has something to do with the export parameters to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is this a QlikView issue and if so, how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;The dates as of 30-11-2014 are from the latest excel file.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="537143_2.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73999_537143_2.jpg" style="height: auto;" /&gt;&lt;IMG alt="537143_1.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/74003_537143_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 08:53:40 GMT</pubDate>
    <dc:creator>Michiel_QV_Fan</dc:creator>
    <dc:date>2014-12-22T08:53:40Z</dc:date>
    <item>
      <title>SQL View export to excel, changed number formats</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773582#M665633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to use excels as development sources. Access to the database is not possible.&lt;/P&gt;&lt;P&gt;These excels are created by exports from a sql server view.&lt;/P&gt;&lt;P&gt;The latest excel I received loads dates and number different from previous excels and therefore the data is not calculated right. Also, special characters are shown different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect this has something to do with the export parameters to excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is this a QlikView issue and if so, how can I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;The dates as of 30-11-2014 are from the latest excel file.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="537143_2.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73999_537143_2.jpg" style="height: auto;" /&gt;&lt;IMG alt="537143_1.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/74003_537143_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 08:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773582#M665633</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2014-12-22T08:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View export to excel, changed number formats</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773583#M665634</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 would suggest here to define in your script date format , this will automatically take care of one single format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Your_Datefiel_Field,'MM/DD/YYYY') as Date_Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773583#M665634</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-12-22T09:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View export to excel, changed number formats</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773584#M665635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your table you can also do like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74009_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773584#M665635</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-12-22T09:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View export to excel, changed number formats</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773585#M665636</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;When you are loading the data format the date field like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(Date#(Your_Datefiel_Field,'DD-MM-YYYY')) as Date_Formatted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM DataSource;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Now use this field for export.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773585#M665636</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-22T09:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View export to excel, changed number formats</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773586#M665637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dates from the latest excel file look like proper dates. The earlier ones look like text strings. If your sources change their date formats that's not a problem Qlikview caused. But you most likele can handle the issue in Qlikview by using the alt function: date(alt(MyExcelDate,date#(MyExcelDate,'DD-MM-YYYY'),'DD-MM-YYYY') as MyDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The special characters like ë is something you should take care of in the source. If your excel file is really an excel file (and not a csv file masquerading as an excel file with a bogus .xls suffix) then the text values from the source database were not correctly extracted. It looks like unicode strings were exported as ascii strings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773586#M665637</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-12-22T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL View export to excel, changed number formats</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773587#M665638</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;Use Date# Function which is a Interpretation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date# will convert string to number, i.e. the input is a string that contains a date and the function creates a correct date serial number. The output is a dual field, i.e. both string and number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Av7eN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 09:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-View-export-to-excel-changed-number-formats/m-p/773587#M665638</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-12-22T09:21:35Z</dc:date>
    </item>
  </channel>
</rss>

