<?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: Formula help in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415067#M76629</link>
    <description>&lt;P&gt;I wouldn't convert to string, I'd just do this:&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="2019-05-14 07_36_52-Alteryx Designer x64 - New Workflow7_.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/63001iBC8B9105FBA6DF96/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-14 07_36_52-Alteryx Designer x64 - New Workflow7_.png" alt="2019-05-14 07_36_52-Alteryx Designer x64 - New Workflow7_.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if 
round([Field1] -  floor([Field1]),.1) = 0.6
then [Field1] - 0.3
else [Field1]
endif&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 13 May 2019 21:44:22 GMT</pubDate>
    <dc:creator>cmcclellan</dc:creator>
    <dc:date>2019-05-13T21:44:22Z</dc:date>
    <item>
      <title>Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415023#M76619</link>
      <description>&lt;P&gt;Can you please help me with a formula to get the result on the right?&amp;nbsp; I tried an IF CONTAIN formula, but it's not working.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;110000.6&lt;/TD&gt;&lt;TD&gt;110000.3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 13 May 2019 20:52:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415023#M76619</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T20:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415028#M76620</link>
      <description>&lt;P&gt;I have a lot of values&amp;nbsp;containing .6&amp;nbsp;and want to change them to .3&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 20:54:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415028#M76620</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T20:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415044#M76624</link>
      <description>&lt;P&gt;There's a little converting that you'll need to do for those string functions to work on that numeric value. Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tonumber(replace(tostring([Field1]),".6",".3"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Formula Breakdown:&lt;/P&gt;&lt;P&gt;1) You're going to replacing the string ".6" with ".3", but this has to be performed on a string value. Convert the value ([Field1]) using "tostring([Field1])".&lt;/P&gt;&lt;P&gt;2) Then perform the replacement using "replace(tostring([Field1]),".6",".3")"&lt;/P&gt;&lt;P&gt;3) Once you have that replacement done, convert the final result back into a numeric value using "tonumber("&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 21:17:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415044#M76624</guid>
      <dc:creator>CharlieS</dc:creator>
      <dc:date>2019-05-13T21:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415048#M76625</link>
      <description>&lt;P&gt;Can you provide a workflow?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 21:21:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415048#M76625</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T21:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415065#M76628</link>
      <description>&lt;P&gt;I got it to work, but I have a new problem.&amp;nbsp; How do I add two or more conditions so that any value containing .6 is updated to .3, .61 is updated to .31, and any value with no decimal is updated to .2?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 21:38:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415065#M76628</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T21:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415067#M76629</link>
      <description>&lt;P&gt;I wouldn't convert to string, I'd just do this:&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="2019-05-14 07_36_52-Alteryx Designer x64 - New Workflow7_.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/63001iBC8B9105FBA6DF96/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-14 07_36_52-Alteryx Designer x64 - New Workflow7_.png" alt="2019-05-14 07_36_52-Alteryx Designer x64 - New Workflow7_.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if 
round([Field1] -  floor([Field1]),.1) = 0.6
then [Field1] - 0.3
else [Field1]
endif&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 May 2019 21:44:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415067#M76629</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-13T21:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415070#M76630</link>
      <description>&lt;P&gt;I've attached a workflow that shows off a a few tools that can be used to achieve this. Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 21:45:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415070#M76630</guid>
      <dc:creator>CharlieS</dc:creator>
      <dc:date>2019-05-13T21:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415071#M76631</link>
      <description>&lt;P&gt;Can you test this please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if 
round([Field1] -  floor([Field1]),.2) = 0.61 or round([Field1] -  floor([Field1]),.1) = 0.6
then [Field1] - 0.3
elseif floor([Field1]) = [Field1] then [Field1] + 0.2
else [Field1]
endif&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 May 2019 21:48:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415071#M76631</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-13T21:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415078#M76633</link>
      <description>&lt;P&gt;I got a red error "Type mismatch in operator +".&amp;nbsp; Do you know how to fix?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 21:59:36 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415078#M76633</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T21:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415086#M76635</link>
      <description>&lt;P&gt;It's working for me ....&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="2019-05-14 08_03_01-Alteryx Designer x64 - New Workflow7_.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/63005iBB231E3BD705E622/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-14 08_03_01-Alteryx Designer x64 - New Workflow7_.png" alt="2019-05-14 08_03_01-Alteryx Designer x64 - New Workflow7_.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 22:04:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415086#M76635</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-13T22:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415088#M76636</link>
      <description>&lt;P&gt;I got an error.&amp;nbsp; How do&amp;nbsp;I update the data type in the formula tool?&amp;nbsp; It's grayed out for me.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 22:10:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415088#M76636</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T22:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415090#M76637</link>
      <description>&lt;P&gt;If you are changing the formula on an existing field you can't change the datatype in the Formula tool (use a Select tool before to achieve this).&amp;nbsp; If you create a new field in the Formula tool then you can set the datatype.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 22:16:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415090#M76637</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-13T22:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415092#M76638</link>
      <description>&lt;P&gt;Can you please look at my workflow I provided above and let me know how I can fix?&amp;nbsp; Thank you so much for your help and continued patience!&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 22:27:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415092#M76638</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-13T22:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415098#M76640</link>
      <description>&lt;P&gt;Don't create Field2 in the Text Input, create it in the Formula tool :)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 22:31:28 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415098#M76640</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-13T22:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415751#M76771</link>
      <description>&lt;P&gt;Can you mark answer/s as correct if it provided the solution for you please ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 21:20:24 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415751#M76771</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-14T21:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415755#M76773</link>
      <description>&lt;P&gt;Can I email you if I have further questions? Or should I reply to the thread?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 22:12:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415755#M76773</guid>
      <dc:creator>htalteryx</dc:creator>
      <dc:date>2019-05-14T22:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Formula help</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415762#M76775</link>
      <description>&lt;P&gt;Always better to post in the forums :)&amp;nbsp; &amp;nbsp;If you still have a problem with the formula then post here, if it's a new issue then start a new thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just realised you are in Irvine as well, just down the road from Alteryx HQ :)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 21:31:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-help/m-p/415762#M76775</guid>
      <dc:creator>cmcclellan</dc:creator>
      <dc:date>2019-05-14T21:31:55Z</dc:date>
    </item>
  </channel>
</rss>

