<?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 Data Prep query - How to achieve a Case statement in Data Preparation in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Data-Prep-query-How-to-achieve-a-Case-statement-in-Data/m-p/2273431#M2871</link>
    <description>&lt;P&gt;1. How can I manipulate a column in data preparation to satisfy a case condition like this&lt;BR /&gt;CASE&lt;BR /&gt;when column 1 like '%F%' then 'Yes'&lt;BR /&gt;else ''&lt;BR /&gt;END&lt;BR /&gt;I can use a 'search and replace' in &lt;STRONG&gt;string&lt;/STRONG&gt; to look at the values in Column1, if it contains F then set it to Yes . But the other part , if it doesn't contain F then should be blank , how do I achieve this.&lt;/P&gt;&lt;P&gt;How to achieve equivalent of 'not contains'&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:22:45 GMT</pubDate>
    <dc:creator>RachelT</dc:creator>
    <dc:date>2024-11-16T02:22:45Z</dc:date>
    <item>
      <title>Data Prep query - How to achieve a Case statement in Data Preparation</title>
      <link>https://community.qlik.com/t5/Data-Quality/Data-Prep-query-How-to-achieve-a-Case-statement-in-Data/m-p/2273431#M2871</link>
      <description>&lt;P&gt;1. How can I manipulate a column in data preparation to satisfy a case condition like this&lt;BR /&gt;CASE&lt;BR /&gt;when column 1 like '%F%' then 'Yes'&lt;BR /&gt;else ''&lt;BR /&gt;END&lt;BR /&gt;I can use a 'search and replace' in &lt;STRONG&gt;string&lt;/STRONG&gt; to look at the values in Column1, if it contains F then set it to Yes . But the other part , if it doesn't contain F then should be blank , how do I achieve this.&lt;/P&gt;&lt;P&gt;How to achieve equivalent of 'not contains'&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Data-Prep-query-How-to-achieve-a-Case-statement-in-Data/m-p/2273431#M2871</guid>
      <dc:creator>RachelT</dc:creator>
      <dc:date>2024-11-16T02:22:45Z</dc:date>
    </item>
  </channel>
</rss>

