<?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 Switch Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164135#M36938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone help me with the correct syntax for Switch statement?&lt;/P&gt;&lt;P&gt;I have read through the forum threads on Switch statement but there doesn't seem to be any error free syntax.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;DK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2009 23:35:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-24T23:35:13Z</dc:date>
    <item>
      <title>Switch Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164135#M36938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone help me with the correct syntax for Switch statement?&lt;/P&gt;&lt;P&gt;I have read through the forum threads on Switch statement but there doesn't seem to be any error free syntax.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;DK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 23:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164135#M36938</guid>
      <dc:creator />
      <dc:date>2009-11-24T23:35:13Z</dc:date>
    </item>
    <item>
      <title>Switch Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164136#M36939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well the normal syntax is&lt;/P&gt;&lt;P class="hcp6"&gt;&lt;STRONG&gt;switch variable&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="hcp6"&gt;&lt;STRONG&gt;case 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="hcp8"&gt;&lt;STRONG&gt;case 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="hcp6"&gt;&lt;STRONG&gt;end switch&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="hcp6"&gt;&lt;STRONG&gt;What do you need else regarding switch feature ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="hcp6"&gt;&lt;STRONG&gt;Rgds,&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="hcp6"&gt;&lt;STRONG&gt;Sébastien&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 23:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164136#M36939</guid>
      <dc:creator />
      <dc:date>2009-11-24T23:40:34Z</dc:date>
    </item>
    <item>
      <title>Switch Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164137#M36940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastien,&lt;/P&gt;&lt;P&gt;Thanks for that.&lt;/P&gt;&lt;P&gt;I have applied the syntax as you have given. But the above syntax doesnt work. It returns a 'Line Error' and I know that I have not made any other mistakes in the query.&lt;/P&gt;&lt;P&gt;dk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 23:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164137#M36940</guid>
      <dc:creator />
      <dc:date>2009-11-24T23:43:44Z</dc:date>
    </item>
    <item>
      <title>Switch Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164138#M36941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coud you paste the copy of the script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 23:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164138#M36941</guid>
      <dc:creator />
      <dc:date>2009-11-24T23:46:17Z</dc:date>
    </item>
    <item>
      <title>Switch Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164139#M36942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you end your case statements with semicolon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;switch expr&lt;BR /&gt; case first_possible_value_of_expr&lt;BR /&gt; do something;&lt;BR /&gt; case second_possible_value_of_expr&lt;BR /&gt; do something else;&lt;BR /&gt; default&lt;BR /&gt; do otherwise;&lt;BR /&gt;end switch&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Is your "do something" statements length more than one line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 23:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164139#M36942</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2009-11-24T23:54:23Z</dc:date>
    </item>
    <item>
      <title>Switch Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164140#M36943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a simple example which works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;let&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;expr =2 &lt;P&gt;;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;switch&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expr&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;case&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;TOTO:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;* &lt;B&gt;INLINE&lt;/B&gt; &lt;P&gt;[&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;default&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;TOTO:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;* &lt;B&gt;INLINE&lt;/B&gt; &lt;P&gt;[&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;end&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;switch&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 00:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switch-Statement/m-p/164140#M36943</guid>
      <dc:creator />
      <dc:date>2009-11-25T00:23:28Z</dc:date>
    </item>
  </channel>
</rss>

