<?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: IF AND in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142216#M3733</link>
    <description>&lt;P&gt;ok thanks so could be Exasol doesnt support but I'm working on Alteryx WF it should have created the column in WF and posted the new column in Exasol.&lt;/P&gt;&lt;P&gt;However here is what I'm trying and still getting the error.&lt;/P&gt;&lt;P&gt;if "Billings$"&amp;lt;"BillingsCost$"&lt;BR /&gt;then "Billings$"-"BillingsCost$"&lt;BR /&gt;else 0&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error Im getting-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Formula In-DB (32): Error SQLPrepare: [EXASOL][EXASolution driver]syntax error, unexpected IF_ [line 6, column 20] (Session: 1594182456386870715)&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2018 10:17:53 GMT</pubDate>
    <dc:creator>brij</dc:creator>
    <dc:date>2018-03-06T10:17:53Z</dc:date>
    <item>
      <title>IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6518#M3727</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to insert a formula which can lookup if it is null in 2 fields for the same row/record and if it is then output "No" else output "Yes" --&amp;gt;&amp;nbsp;IIF(IsNull([Field 1]) AND (IsNull([Field 2]),"No","Yes")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error I keep receive is "Malformed If statement".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is appreciated - thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 01:28:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6518#M3727</guid>
      <dc:creator>HM</dc:creator>
      <dc:date>2018-05-24T01:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6519#M3728</link>
      <description>Looks reasonable, but try&lt;BR /&gt;&lt;BR /&gt;IIF(isnull([field1]) &amp;amp;&amp;amp; isnull([field 2]),"No","Yes")</description>
      <pubDate>Tue, 27 Oct 2015 01:48:22 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6519#M3728</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2015-10-27T01:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6520#M3729</link>
      <description>&lt;P&gt;It worked perfectly! Thank you for that&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 02:12:58 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6520#M3729</guid>
      <dc:creator>HM</dc:creator>
      <dc:date>2015-10-27T02:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6522#M3730</link>
      <description>&lt;P&gt;Great. If you wouldn't mind, could you mark that as solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mark&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 02:30:15 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/6522#M3730</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2015-10-27T02:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142214#M3731</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting following error.&lt;/P&gt;&lt;P&gt;IIF(isnull("Part No"),"Include","Exclude")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Formula In-DB (32): Error SQLPrepare: [EXASOL][EXASolution driver]function or script IIF not found [line 6, column 20] (Session: 1594182034651602363)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:02:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142214#M3731</guid>
      <dc:creator>brij</dc:creator>
      <dc:date>2018-03-06T10:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142215#M3732</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/26685"&gt;@brij&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't look like Exasol supports IIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You probably need to use a standard SQL IF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF "Part No" is Null Then 'Include' Else 'Excude' End&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://twitter.com/LordNeilLord" target="_blank"&gt;@LordNeilLord&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;I&gt;Part time Tableau, Part Time Alteryx. Full Time Awesome&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG src="http://www.thedataschool.co.uk/wp-content/uploads/2017/02/Neil-Lord-300-x-300.png" border="0" alt="Data Lover" width="150" height="150" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:07:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142215#M3732</guid>
      <dc:creator>LordNeilLord</dc:creator>
      <dc:date>2018-03-06T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142216#M3733</link>
      <description>&lt;P&gt;ok thanks so could be Exasol doesnt support but I'm working on Alteryx WF it should have created the column in WF and posted the new column in Exasol.&lt;/P&gt;&lt;P&gt;However here is what I'm trying and still getting the error.&lt;/P&gt;&lt;P&gt;if "Billings$"&amp;lt;"BillingsCost$"&lt;BR /&gt;then "Billings$"-"BillingsCost$"&lt;BR /&gt;else 0&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error Im getting-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Formula In-DB (32): Error SQLPrepare: [EXASOL][EXASolution driver]syntax error, unexpected IF_ [line 6, column 20] (Session: 1594182456386870715)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:17:53 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142216#M3733</guid>
      <dc:creator>brij</dc:creator>
      <dc:date>2018-03-06T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142217#M3734</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/26685"&gt;@brij&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're using the In-DB tools which need to be coded in the native language of the database, which in this case is Standard SQL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More info is here:&amp;nbsp;&lt;A href="https://help.alteryx.com/9.5/LockInFormula.htm" target="_self"&gt;https://help.alteryx.com/9.5/LockInFormula.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://twitter.com/LordNeilLord" target="_blank"&gt;@LordNeilLord&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;I&gt;Part time Tableau, Part Time Alteryx. Full Time Awesome&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG src="http://www.thedataschool.co.uk/wp-content/uploads/2017/02/Neil-Lord-300-x-300.png" border="0" alt="Data Lover" width="150" height="150" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:28:07 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142217#M3734</guid>
      <dc:creator>LordNeilLord</dc:creator>
      <dc:date>2018-03-06T10:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142221#M3735</link>
      <description>&lt;P&gt;ahh great thanks this makes sense to me now.&lt;/P&gt;&lt;P&gt;ANy thoughts on error message m getting on if formula?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Brij&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:30:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142221#M3735</guid>
      <dc:creator>brij</dc:creator>
      <dc:date>2018-03-06T10:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142222#M3736</link>
      <description>&lt;P&gt;The error is caused by the format if your IF statement....the way it is written is for Alteryx..which is not the same as SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will need something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if "Billings$"&amp;lt;"BillingsCost$"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then "Billings$"-"BillingsCost$"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;else 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;end&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not a SQL coder so I'm not 100% sure of the correct syntax&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://twitter.com/LordNeilLord" target="_blank"&gt;@LordNeilLord&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;I&gt;Part time Tableau, Part Time Alteryx. Full Time Awesome&lt;/I&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://www.thedataschool.co.uk/wp-content/uploads/2017/02/Neil-Lord-300-x-300.png" border="0" alt="Data Lover" width="150" height="150" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:37:09 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142222#M3736</guid>
      <dc:creator>LordNeilLord</dc:creator>
      <dc:date>2018-03-06T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142223#M3737</link>
      <description>&lt;P&gt;okay just tried case and that works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;case&lt;BR /&gt;when "Billings$"&amp;lt;"BillingsCost$" then&lt;BR /&gt;"Billings$"-"BillingsCost$"&lt;BR /&gt;else 0&lt;BR /&gt;end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However IF has some bug in alteryx maybe .&lt;/P&gt;&lt;P&gt;Thanks for all the support so far.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Brij&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 10:41:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/142223#M3737</guid>
      <dc:creator>brij</dc:creator>
      <dc:date>2018-03-06T10:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/312630#M56513</link>
      <description>&lt;P&gt;Thanks for posting this, can you use &amp;amp;&amp;amp; in a regular IF THEN ELSE ?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 22:43:53 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/312630#M56513</guid>
      <dc:creator>papalow</dc:creator>
      <dc:date>2018-10-17T22:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/346560#M63307</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taking the same logic, how would I go about writing a formula with 3 conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to replicate an excel formula which would read:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(AND([X]="Y",[X]="N",[X]="N"),"Y","N")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried using the IF ELSEIF function but this isn't right, any thoughts?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 09:43:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/346560#M63307</guid>
      <dc:creator>Matt_Sinker</dc:creator>
      <dc:date>2018-12-24T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/346561#M63308</link>
      <description>&lt;P&gt;&lt;SPAN&gt;=IF(AND([X]="Y",[X1]="N",[X2]="N"),"Y","N") - would make more sense, apologies.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 09:45:52 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/346561#M63308</guid>
      <dc:creator>Matt_Sinker</dc:creator>
      <dc:date>2018-12-24T09:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: IF AND</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/346580#M63314</link>
      <description>&lt;P&gt;Solved guys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't realise you could simply use AND in an IF THEN ELSE formula in Alteryx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF ([X]="Y" AND [X1]="N" AND [X2]="N") THEN "Y" ELSE "N" ENDIF - Worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 10:24:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/IF-AND/m-p/346580#M63314</guid>
      <dc:creator>Matt_Sinker</dc:creator>
      <dc:date>2018-12-24T10:24:00Z</dc:date>
    </item>
  </channel>
</rss>

