<?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: Error : Formula: tried to apply string operator to numeric value ( REPLACE)&amp;quot;. in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883528#M212440</link>
    <description>&lt;P&gt;One more thing to consider with the multi field formula. If the data type is DateTime, you can't insert a T. For that to work, you also have to tell the multi field formula to change the data type to string&lt;/P&gt;</description>
    <pubDate>Thu, 23 Dec 2021 14:43:20 GMT</pubDate>
    <dc:creator>DavidP</dc:creator>
    <dc:date>2021-12-23T14:43:20Z</dc:date>
    <item>
      <title>Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883406#M212404</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before starting my issue/ error. Please refer below workflow connection.&amp;nbsp; My workflow connection is as below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Datasource: 1) Database&amp;nbsp; 2) .Json file&lt;/P&gt;&lt;P&gt;These 2 data sources are connected through Bitbucket.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Macro Container: This Container connected through. .Json and sql file and after preprocessing&amp;nbsp; workflow, this macro container&amp;nbsp; creates one .csv file.&lt;/P&gt;&lt;P&gt;&amp;nbsp; THEN macro container used to pull/ proceed data and published report to some reporting portal with the help of predefined API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the issue is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to get expected records from sql.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when workflow reached to Macro container..it falied with below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status: 400,status reason : bad request&lt;/P&gt;&lt;P&gt;Message: Invalid csv provides during upload&lt;/P&gt;&lt;P&gt;Msg= There are too few coloumns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also able to see /n are added to the end of a each row by the macro .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; am also geeting below error in multifield formula tool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;" Formula: tried to apply string operator to numeric value ( REPLACE)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My expressions is as below:&lt;/P&gt;&lt;P&gt;Replace ( [ _CurrentField_] ,' ' ,'T')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to understand the meaning of that and how to resolved that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piyush J&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 07:28:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883406#M212404</guid>
      <dc:creator>PiyushJain</dc:creator>
      <dc:date>2021-12-23T07:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883424#M212409</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/150172"&gt;@PiyushJain&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess is that the csv that is created is different from what the upload API is expecting, but it's hard to tell without being able to follow the logic through.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the second error, I can offer some thoughts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at the configuration of the multi-field formula, you can see at the very top there is a Select with a dropdown beside it. Here you tell the tool which type of fields you want to modify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Replace formula can only be used with Text fields, so if Numeric fields are included in the list, you'll get the error you're seeing. From the dropdown, you should select "Text" and then you'll get the option below that to pick the specific fields that you want modified. I'm guessing from your formula that you're looking to replace the space between the date and time in a datetime field with a T, so make sure the right fields are selected.&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="DavidP_0-1640253902369.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215907iB389FF9B4AF51528/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidP_0-1640253902369.png" alt="DavidP_0-1640253902369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 10:10:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883424#M212409</guid>
      <dc:creator>DavidP</dc:creator>
      <dc:date>2021-12-23T10:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883512#M212435</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree with your points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to see any .csv,that's why not able to understand where is the exact issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding Second Error: below is the default set up in my&amp;nbsp; Multifiled formula tool:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select Dropdown selected " Datetime"&lt;/P&gt;&lt;P&gt;Selected coloumns are as below&lt;/P&gt;&lt;P&gt;Date&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dynamic or unknown fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i select "Text" option this " date" column is disappear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is " Date " coloumn create issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding replace syntax ,i agree with you that&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is related to date and time as you also mentioned .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So not sure what else i need to check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 14:22:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883512#M212435</guid>
      <dc:creator>PiyushJain</dc:creator>
      <dc:date>2021-12-23T14:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883522#M212438</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/150172"&gt;@PiyushJain&lt;/a&gt;&amp;nbsp;for the second error please the below formula&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace(ToString([_CurrentField_])," ","T")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binuacs_1-1640270014076.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215936i1101F8FEB1A60210/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binuacs_1-1640270014076.png" alt="binuacs_1-1640270014076.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Thu, 23 Dec 2021 14:33:41 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883522#M212438</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2021-12-23T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883528#M212440</link>
      <description>&lt;P&gt;One more thing to consider with the multi field formula. If the data type is DateTime, you can't insert a T. For that to work, you also have to tell the multi field formula to change the data type to string&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 14:43:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883528#M212440</guid>
      <dc:creator>DavidP</dc:creator>
      <dc:date>2021-12-23T14:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883647#M212462</link>
      <description>&lt;P&gt;Hi Binuacs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used syntax provided by you and now first error resolved.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But 1 more warning came ( see below)&lt;/P&gt;&lt;P&gt;Date: "2012-01-05T00:00:00" is not a valid datetime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ALSO 2nd error is still there...&lt;/P&gt;&lt;P&gt;2nd error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Status : 400.... ( please refer my main page)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sharing my multifield formula setup, please correct me if my setup is wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In dropdown option i am selecting " Datetime".&lt;/P&gt;&lt;P&gt;Fields are : date and dynamic or unknown fields&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change output to : V_WString&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expressions: Replace( ToString........)&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piyush Jain&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 17:59:34 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883647#M212462</guid>
      <dc:creator>PiyushJain</dc:creator>
      <dc:date>2021-12-23T17:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883648#M212463</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tired to understand, but not able to catch completely.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 18:01:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883648#M212463</guid>
      <dc:creator>PiyushJain</dc:creator>
      <dc:date>2021-12-23T18:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883786#M212501</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/150172"&gt;@PiyushJain&lt;/a&gt;&amp;nbsp;"2012-01-05T00:00:00" is not a valid DateTime in Alteryx, to avoid the warning change your settings like below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="binuacs_0-1640332480233.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/216013i85F5AF8EAC75E1B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="binuacs_0-1640332480233.png" alt="binuacs_0-1640332480233.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 24 Dec 2021 07:56:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/883786#M212501</guid>
      <dc:creator>binu_acs</dc:creator>
      <dc:date>2021-12-24T07:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error : Formula: tried to apply string operator to numeric value ( REPLACE)".</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/884006#M212534</link>
      <description>&lt;P&gt;Hi Binuacs/ Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. Based on your suggestion i am able to resolve first error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still facing 2nd error as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When workflow reached to Macro container..it falied with below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;status: 400,status reason : bad request&lt;/P&gt;&lt;P&gt;Message: Invalid csv provides during upload&lt;/P&gt;&lt;P&gt;Msg= There are too few coloumns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also able to see /n are added to the end of a each row by the macro .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to understand the meaning of that and how to resolved that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Piyush J&lt;/P&gt;</description>
      <pubDate>Sat, 25 Dec 2021 17:11:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Error-Formula-tried-to-apply-string-operator-to-numeric-value/m-p/884006#M212534</guid>
      <dc:creator>PiyushJain</dc:creator>
      <dc:date>2021-12-25T17:11:26Z</dc:date>
    </item>
  </channel>
</rss>

