<?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: SQL writing CASE WHEN ELSE statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572125#M598106</link>
    <description>&lt;P&gt;May be try this&lt;/P&gt;&lt;PRE&gt;CASE
          WHEN EXAMPLE IN (1, 2, 3, 4) THEN 'Online'
          WHEN EXAMPLE IN (5, 6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; THEN 'Offline'
       END
          ONLINE_or_OFFLINE&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Apr 2019 13:30:07 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-04-23T13:30:07Z</dc:date>
    <item>
      <title>SQL writing CASE WHEN ELSE statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572103#M598104</link>
      <description>&lt;P&gt;Am writing a QlikView load script, and am having an issue with a script.&lt;/P&gt;&lt;P&gt;The source of the information is direct from SQL, this is not a QVD load script.&lt;/P&gt;&lt;P&gt;Am trying to write something like this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;CASE WHEN [EXAMPLE] in (1,2,3,4) then 'Online'&amp;nbsp; else&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;CASE WHEN [EXAMPLE] in (5,6,7,8) then 'Offline' END as [ONLINE_or_OFFLINE],&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572103#M598104</guid>
      <dc:creator>mattbrain</dc:creator>
      <dc:date>2019-04-23T13:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: SQL writing CASE WHEN ELSE statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572106#M598105</link>
      <description>&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;If(Match([EXAMPLE], '1','2','3','4'), 'Online',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;f(Match([EXAMPLE], '5','6','7','8', 'Offline')) as [ONLINE_or_OFFLINE],&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572106#M598105</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-04-23T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: SQL writing CASE WHEN ELSE statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572125#M598106</link>
      <description>&lt;P&gt;May be try this&lt;/P&gt;&lt;PRE&gt;CASE
          WHEN EXAMPLE IN (1, 2, 3, 4) THEN 'Online'
          WHEN EXAMPLE IN (5, 6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; THEN 'Offline'
       END
          ONLINE_or_OFFLINE&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572125#M598106</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-23T13:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL writing CASE WHEN ELSE statement</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572140#M598107</link>
      <description>&lt;P&gt;Amazing, thats working thanks. I thought there needed to be an "else" condition somewhere.&lt;/P&gt;&lt;P&gt;Thank you, you have saved me so much time&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 13:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-writing-CASE-WHEN-ELSE-statement/m-p/1572140#M598107</guid>
      <dc:creator>mattbrain</dc:creator>
      <dc:date>2019-04-23T13:51:13Z</dc:date>
    </item>
  </channel>
</rss>

