<?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 Load statement using Case and When in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801683#M1023627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Help!&lt;/P&gt;&lt;P&gt;I know&amp;nbsp; Qlik does not support CASE WHEN statement and I have tried various "IF" statements but no luck so far.&lt;/P&gt;&lt;P&gt;I'm working on Load statement to create a new column and I am using&amp;nbsp; "IF ... AND" statement.&lt;/P&gt;&lt;P&gt;I have 2 data elements A_Status (Kept, Pending, S-Call, Tel-Con, and Walk-in) and B_Status (Complete, Unresolvable and Warning).&amp;nbsp; In order to close the record, A_Status should be one of 5 list "AND" one of the list from B_Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case when&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_status in ('Kept', 'Pending', 'S-Call', 'Tel-Con', 'Walk-in') and B_status in ('Complete', 'Unresolvable', 'Warning') then 1&lt;/P&gt;&lt;P&gt;End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2015 17:08:16 GMT</pubDate>
    <dc:creator>diane_yu</dc:creator>
    <dc:date>2015-03-13T17:08:16Z</dc:date>
    <item>
      <title>Load statement using Case and When</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801683#M1023627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Help!&lt;/P&gt;&lt;P&gt;I know&amp;nbsp; Qlik does not support CASE WHEN statement and I have tried various "IF" statements but no luck so far.&lt;/P&gt;&lt;P&gt;I'm working on Load statement to create a new column and I am using&amp;nbsp; "IF ... AND" statement.&lt;/P&gt;&lt;P&gt;I have 2 data elements A_Status (Kept, Pending, S-Call, Tel-Con, and Walk-in) and B_Status (Complete, Unresolvable and Warning).&amp;nbsp; In order to close the record, A_Status should be one of 5 list "AND" one of the list from B_Status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case when&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A_status in ('Kept', 'Pending', 'S-Call', 'Tel-Con', 'Walk-in') and B_status in ('Complete', 'Unresolvable', 'Warning') then 1&lt;/P&gt;&lt;P&gt;End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801683#M1023627</guid>
      <dc:creator>diane_yu</dc:creator>
      <dc:date>2015-03-13T17:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement using Case and When</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801684#M1023628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(A_status, 'Kept', 'Pending', 'S-Call', 'Tel-Con', 'Walk-in') and Match(B-status, 'Complete', 'Unresolvable', 'Warning'), 1) as ColumnName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801684#M1023628</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-13T17:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement using Case and When</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801685#M1023629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp;&amp;nbsp; That did it.&amp;nbsp; I tried pick(wildmatch) option but it didn't worked.&amp;nbsp; What is the difference between match, pick, and wildmatch? I'm sorry but I'm new to Qlick.&amp;nbsp; Can you use pipe(|) instead of comma when you listing items?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801685#M1023629</guid>
      <dc:creator>diane_yu</dc:creator>
      <dc:date>2015-03-13T17:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load statement using Case and When</title>
      <link>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801686#M1023631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have never tried it with the pipe (and I doubt it would work), but you can give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From QlikView Help (F1) these are definition with examples for &lt;STRONG&gt;Pick, Match, WildMatch, MixMatch&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor410"&gt;&lt;/A&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80714_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;HTH&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;Best,&lt;/P&gt;&lt;P class="syntax"&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-statement-using-Case-and-When/m-p/801686#M1023631</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-13T18:03:29Z</dc:date>
    </item>
  </channel>
</rss>

