<?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: Issue with importing numbers with Excel accounting format in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622165#M46316</link>
    <description>&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;If( Left("Period 4 - 2020",1)=chr(40),&lt;/P&gt;&lt;P&gt;PurgeChar(PurgeChar("Period 4 - 2020",chr(40)),chr(41))*(-1),&amp;nbsp; "Period 4 - 2020") as "Period 4 - 2020"&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 14:02:32 GMT</pubDate>
    <dc:creator>DavidM</dc:creator>
    <dc:date>2019-09-10T14:02:32Z</dc:date>
    <item>
      <title>Issue with importing numbers with Excel accounting format</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622158#M46314</link>
      <description>&lt;P&gt;Hi, I'm having a problem importing an excel file where the numbers are formatted as "Accounting" format.&amp;nbsp; This puts parenthesis around negative numbers.&amp;nbsp; Upon importing the value it seems to recognize it as a negative and shows it correctly when displayed in a table but doesn't total it, and when multiple spreadsheets are loaded is treating it like character data.&amp;nbsp; I've tried to put a Num function in the load script with various formats but this hasn't helped.&amp;nbsp; Thanks in advance for any help.&lt;/P&gt;&lt;P&gt;Cell formatting in Excel&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/18852i8F420F754387CE3A/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Displayed in Qlik Sense Table,&amp;nbsp; value displays correctly but totals don't calculate&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/18854i92ECD3C88891FCFD/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load script function (tried with various formats, none worked)&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/18855iF749630CC31DFF12/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 13:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622158#M46314</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2019-09-10T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with importing numbers with Excel accounting format</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622164#M46315</link>
      <description>&lt;P&gt;Try to replace num(...) with num#(...)&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622164#M46315</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-10T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with importing numbers with Excel accounting format</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622165#M46316</link>
      <description>&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;If( Left("Period 4 - 2020",1)=chr(40),&lt;/P&gt;&lt;P&gt;PurgeChar(PurgeChar("Period 4 - 2020",chr(40)),chr(41))*(-1),&amp;nbsp; "Period 4 - 2020") as "Period 4 - 2020"&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622165#M46316</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2019-09-10T14:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with importing numbers with Excel accounting format</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622262#M46323</link>
      <description>&lt;P&gt;Thanks Vegar and David M.&amp;nbsp; Unfortunately neither of those worked, even tried combining the ideas by putting a Num# in front of the PurgeChar.&amp;nbsp; It seems that Qlik recognizes it as a number based on what I see in the data manager but for some reason isn't rendering or summing correctly.&amp;nbsp; I was able to get it to sum when I chose "Sum" for how to handle the total of that field but when importing multiple worksheets it doesn't handle it correctly.&amp;nbsp; Thanks again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 17:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622262#M46323</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2019-09-10T17:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with importing numbers with Excel accounting format</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622268#M46324</link>
      <description>&lt;P&gt;Based on the behavior with the total I decided to change the measure from just the field value to Sum(field) instead.&amp;nbsp; That worked, and the total started working in auto mode as well.&amp;nbsp; Very strange but at least found a solution.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-with-importing-numbers-with-Excel-accounting-format/m-p/1622268#M46324</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2019-09-10T18:01:18Z</dc:date>
    </item>
  </channel>
</rss>

