<?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: Multiple &amp;quot;IF&amp;quot; conditions in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365586#M16704</link>
    <description>&lt;P&gt;The formula above is easiest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a list of 75 items, that may not work. I would do this by creating a look-up table and then use a find replace to append the include/exclude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lookup table would be like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Field&lt;/TD&gt;&lt;TD&gt;Term&lt;/TD&gt;&lt;TD&gt;Decision&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;instrument type&lt;/TD&gt;&lt;TD&gt;cashflow&lt;/TD&gt;&lt;TD&gt;Exclude&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then either use that trickily on the whole set at once, or use a filter for each [Field] term and apply once at a time.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Once at a time would need to consider how to evaluate whether each row is include/exclude. I would use record ID, Summarise(Concatenate) and a formula for IIF(Contains([concat_decision],"excluded"),"Excluded","Included")&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 30 Jan 2025 22:46:45 GMT</pubDate>
    <dc:creator>KGT</dc:creator>
    <dc:date>2025-01-30T22:46:45Z</dc:date>
    <item>
      <title>Multiple "IF" conditions</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365560#M16702</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a set of data that needs to have filters and categorize it from excluded or included based on multiple things. Is there a way I can create a key or legend in alteryx to have this flow?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, If&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"instrument type" = cashflow - "excluded"&lt;/LI&gt;&lt;LI&gt;"exchange" = AVG or GTO = "Excluded"&lt;/LI&gt;&lt;LI&gt;anything else needs to say included&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 20:20:02 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365560#M16702</guid>
      <dc:creator>kmontoya</dc:creator>
      <dc:date>2025-01-30T20:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple "IF" conditions</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365561#M16703</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/372300"&gt;@kmontoya&lt;/a&gt;&amp;nbsp;Try something along these lines:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; IF [instrument type] = "cashflow" or [exchange] in ("AVG","GTO") then "Excluded" else "Included" endif&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Jan 2025 20:24:01 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365561#M16703</guid>
      <dc:creator>patrick_digan</dc:creator>
      <dc:date>2025-01-30T20:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple "IF" conditions</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365586#M16704</link>
      <description>&lt;P&gt;The formula above is easiest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a list of 75 items, that may not work. I would do this by creating a look-up table and then use a find replace to append the include/exclude.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lookup table would be like this:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Field&lt;/TD&gt;&lt;TD&gt;Term&lt;/TD&gt;&lt;TD&gt;Decision&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;instrument type&lt;/TD&gt;&lt;TD&gt;cashflow&lt;/TD&gt;&lt;TD&gt;Exclude&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then either use that trickily on the whole set at once, or use a filter for each [Field] term and apply once at a time.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Once at a time would need to consider how to evaluate whether each row is include/exclude. I would use record ID, Summarise(Concatenate) and a formula for IIF(Contains([concat_decision],"excluded"),"Excluded","Included")&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 30 Jan 2025 22:46:45 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Multiple-quot-IF-quot-conditions/m-p/1365586#M16704</guid>
      <dc:creator>KGT</dc:creator>
      <dc:date>2025-01-30T22:46:45Z</dc:date>
    </item>
  </channel>
</rss>

