<?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: Can you create conditional if then else logic in the Data Prep tool? in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275535#M3090</link>
    <description>&lt;P&gt;And by the way, there is a dedicated topic in the online doc for that:&amp;nbsp;&lt;A href="https://help.talend.com/reader/stPif1ZSGQHZQ88m_d19mg/TxjabS_sKBjXRebpg78YHA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/stPif1ZSGQHZQ88m_d19mg/TxjabS_sKBjXRebpg78YHA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2019 20:03:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-22T20:03:33Z</dc:date>
    <item>
      <title>Can you create conditional if then else logic in the Data Prep tool?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275532#M3087</link>
      <description>&lt;P&gt;I'm trying to do some logic in the Data Prep tool with if then else, but I do not see how.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF [dataset_a].[column_3] = "Dorothy" AND [dataset_a].[column_4] = "Wizard of Oz" THEN "Rainbow"&lt;/P&gt;
&lt;P&gt;ELSE LOOKUP [dataset_a].[column_7] AGAINST [dataset_b].[column_1] RETURN [dataset_b].[column_5]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can do the lookup fine, but how do I do the if this and that then else logic?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have to go outside of the tool then the tool will not do. I do not want to write a Talend job with tMap logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Myles&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275532#M3087</guid>
      <dc:creator>Myles</dc:creator>
      <dc:date>2024-11-16T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create conditional if then else logic in the Data Prep tool?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275533#M3088</link>
      <description>&lt;P&gt;Hi Myles,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no direct if/then/else functions in Data Prep... but you can play with filters to get this logic. You can filter on a dedicated value and retain the dataset against this value with functions like "Keep these filtered rows" for example. See the attached screenshot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 19:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275533#M3088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-22T19:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create conditional if then else logic in the Data Prep tool?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275534#M3089</link>
      <description>&lt;P&gt;Thanks Patrick.&amp;nbsp; I saw the filtering example in a how to, but I want to keep the all the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Myles&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 20:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275534#M3089</guid>
      <dc:creator>Myles</dc:creator>
      <dc:date>2019-04-22T20:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create conditional if then else logic in the Data Prep tool?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275535#M3090</link>
      <description>&lt;P&gt;And by the way, there is a dedicated topic in the online doc for that:&amp;nbsp;&lt;A href="https://help.talend.com/reader/stPif1ZSGQHZQ88m_d19mg/TxjabS_sKBjXRebpg78YHA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/stPif1ZSGQHZQ88m_d19mg/TxjabS_sKBjXRebpg78YHA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 20:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275535#M3090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-22T20:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create conditional if then else logic in the Data Prep tool?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275536#M3091</link>
      <description>Yes, that's the one I saw before posting my question here. Thanks again.
&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Apr 2019 20:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Can-you-create-conditional-if-then-else-logic-in-the-Data-Prep/m-p/2275536#M3091</guid>
      <dc:creator>Myles</dc:creator>
      <dc:date>2019-04-22T20:05:13Z</dc:date>
    </item>
  </channel>
</rss>

