<?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: How to remove decimals during load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675308#M245200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anbu, thank you for reply.&lt;/P&gt;&lt;P&gt;What does Your_Amt_col+0 mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 15:23:00 GMT</pubDate>
    <dc:creator>iamthefixer</dc:creator>
    <dc:date>2014-10-07T15:23:00Z</dc:date>
    <item>
      <title>How to remove decimals during load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675305#M245197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am loading hundreds of .xlsm files and found that values that are formatted as General in Excel are imported with 6 decimals into QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="75" style="border: 1px solid rgb(0, 0, 0); width: 192px; height: 65px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Excel&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;QV&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;61040&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;61040.000000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the solution to get the following result in QV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected result&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="75" style="border: 1px solid #000000; width: 192px; height: 65px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Excel&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;QV&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;61040&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;61040&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - I have troed Text() and Num#(), Num() with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for or support..&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675305#M245197</guid>
      <dc:creator>iamthefixer</dc:creator>
      <dc:date>2014-10-07T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove decimals during load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675306#M245198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach sample file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675306#M245198</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-07T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove decimals during load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675307#M245199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Your_Amt_col+0 from Table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675307#M245199</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-07T15:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove decimals during load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675308#M245200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anbu, thank you for reply.&lt;/P&gt;&lt;P&gt;What does Your_Amt_col+0 mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675308#M245200</guid>
      <dc:creator>iamthefixer</dc:creator>
      <dc:date>2014-10-07T15:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove decimals during load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675309#M245201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you have set at the top of the load script for these 2 variables ?&amp;nbsp; Ensure they are set correctly for your data format &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as those are set you can use round() to remove any decimals in the load script.&amp;nbsp; num() doesn't remove decimals from the data model it just sets the display formatting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Numberfield&lt;/P&gt;&lt;P&gt;from &amp;lt;source&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; round(Numberfield) as Numberfield&lt;/P&gt;&lt;P&gt;from &amp;lt;source&amp;gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675309#M245201</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-10-07T15:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove decimals during load</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675310#M245202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have foudn the solution: num(num#(FIELD))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your support.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 15:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-decimals-during-load/m-p/675310#M245202</guid>
      <dc:creator>iamthefixer</dc:creator>
      <dc:date>2014-10-07T15:29:31Z</dc:date>
    </item>
  </channel>
</rss>

