<?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: TONUMBER ERROR in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163233#M42871</link>
    <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/21220"&gt;@jboschee&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at my attached solution. It runs with no conversion errors for me. Please let me know if this helps.&lt;/P&gt;</description>
    <pubDate>Tue, 15 May 2018 22:31:55 GMT</pubDate>
    <dc:creator>CharlieS</dc:creator>
    <dc:date>2018-05-15T22:31:55Z</dc:date>
    <item>
      <title>TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163213#M42866</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting this error when doing a currency conversion.&amp;nbsp; Below is the formula I'm using for the conversion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'$'+TOSTRING(TONUMBER([GROSS SALES])/TONUMBER([Budget Rate]),2,1,".")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my export, it is returning $1,703.56 when it should be $1,074,245.05&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tonumber error.PNG" style="width: 200px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/34094iDF03C4B26DBAD437/image-size/small?v=v2&amp;amp;px=200" role="button" title="tonumber error.PNG" alt="tonumber error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 05:19:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163213#M42866</guid>
      <dc:creator>jboschee</dc:creator>
      <dc:date>2018-05-24T05:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163217#M42867</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/21220"&gt;@jboschee&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have commas in your [GROSS SALES] and [Budget Rate] columns, those will need to be removed for the calculation. Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'$'+TOSTRING(TONUMBER(replace([GROSS SALES],",",""))/TONUMBER(replace([Budget Rate],",","")),2,1,".")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 21:37:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163217#M42867</guid>
      <dc:creator>CharlieS</dc:creator>
      <dc:date>2018-05-15T21:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163218#M42868</link>
      <description>&lt;P&gt;Unfortunately, it didn't work.&amp;nbsp; Still getting the error and having the calculation cut off.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 21:43:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163218#M42868</guid>
      <dc:creator>jboschee</dc:creator>
      <dc:date>2018-05-15T21:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163220#M42869</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/21220"&gt;@jboschee&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you provide an input file with some example values?&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 21:47:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163220#M42869</guid>
      <dc:creator>CharlieS</dc:creator>
      <dc:date>2018-05-15T21:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163222#M42870</link>
      <description>&lt;P&gt;Hi Charlie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of the input and the output I'm receiving.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 22:01:09 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163222#M42870</guid>
      <dc:creator>jboschee</dc:creator>
      <dc:date>2018-05-15T22:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163233#M42871</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/21220"&gt;@jboschee&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at my attached solution. It runs with no conversion errors for me. Please let me know if this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 22:31:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163233#M42871</guid>
      <dc:creator>CharlieS</dc:creator>
      <dc:date>2018-05-15T22:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163237#M42872</link>
      <description>&lt;P&gt;Thanks for all the help Charlie.&amp;nbsp; I received zero values for all converted to USD values.&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tonumber error.PNG" style="width: 880px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/34098i2BAAFBCBC8CB44FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="tonumber error.PNG" alt="tonumber error.PNG" /&gt;&lt;/span&gt;I attached a picture of the workflow I'm working with.&amp;nbsp; #1 - with your formatting and #2 is with your conversion formula&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 22:43:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163237#M42872</guid>
      <dc:creator>jboschee</dc:creator>
      <dc:date>2018-05-15T22:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: TONUMBER ERROR</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163241#M42873</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/21220"&gt;@jboschee&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WebEx is wonderful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When you try to store a string value into a number, you generally get 0.&amp;nbsp; If however, you start the string with numbers, you'll get the numbers until you hit a character not in the set of {0-9 or .}.&lt;/LI&gt;&lt;LI&gt;Keep your incoming data as either fixed decimal or double&lt;/LI&gt;&lt;LI&gt;Convert to string with:&lt;BR /&gt;&lt;PRE&gt;ToString([My Number], 2, 1, ".")&lt;/PRE&gt;Where [My Number] is a number and 2 is the # of desired decimal places and 1 says that you've got thousand "characters" and that your decimal is a dot.&lt;/LI&gt;&lt;LI&gt;Your IN-DB (teradata) is nice, but with ADHD I couldn't take it.&amp;nbsp; So I added an OUTPUT to a "cache.yxdb" file and moved a UNION tool after your DATA STREAM OUT.&amp;nbsp; Then I put those tools (not the union) into a container, "LIVE DATA" and disabled it.&amp;nbsp; Then I added an input tool inside of a "CACHED DATA" container that read the cache.yxdb file.&amp;nbsp; The output from the INPUT tool was connected to that same UNION.&amp;nbsp; You can now flip between your containers as needed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All worked wonderfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Mark&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 23:43:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/TONUMBER-ERROR/m-p/163241#M42873</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2018-05-15T23:43:16Z</dc:date>
    </item>
  </channel>
</rss>

