<?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 Function Switch in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-Switch/m-p/146977#M25453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background: #cedefd;"&gt;I'm experiencing some problems with the switch function and I can not find the correct syntax.&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;Furthermore I would like to change a different variable "VAR" as follow:&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;=switch Country&lt;BR /&gt;case 'FR'&lt;BR /&gt; LET VAR = 'France';&lt;BR /&gt;case 'UK'&lt;BR /&gt; LET VAR = 'UnitedKinkgdoms';&lt;BR /&gt;default&lt;BR /&gt; LET VAR = 'Else';&lt;BR /&gt;&lt;BR /&gt;end switch&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;Could you suggest one solution?&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;Thank you very much for your help, it drives me crazy!![:)].&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;r.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2009 03:26:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-17T03:26:16Z</dc:date>
    <item>
      <title>Function Switch</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Switch/m-p/146977#M25453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background: #cedefd;"&gt;I'm experiencing some problems with the switch function and I can not find the correct syntax.&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;Furthermore I would like to change a different variable "VAR" as follow:&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;=switch Country&lt;BR /&gt;case 'FR'&lt;BR /&gt; LET VAR = 'France';&lt;BR /&gt;case 'UK'&lt;BR /&gt; LET VAR = 'UnitedKinkgdoms';&lt;BR /&gt;default&lt;BR /&gt; LET VAR = 'Else';&lt;BR /&gt;&lt;BR /&gt;end switch&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;Could you suggest one solution?&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;Thank you very much for your help, it drives me crazy!![:)].&lt;/P&gt;&lt;P style="background: #cedefd;"&gt;r.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 03:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Switch/m-p/146977#M25453</guid>
      <dc:creator />
      <dc:date>2009-06-17T03:26:16Z</dc:date>
    </item>
    <item>
      <title>Function Switch</title>
      <link>https://community.qlik.com/t5/QlikView/Function-Switch/m-p/146978#M25454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can able see only one issue in your syntax.&lt;/P&gt;&lt;P&gt;Just remove &lt;B&gt;Equal&lt;/B&gt; before the switch syntax and see.&lt;/P&gt;&lt;P&gt;Your syntax shoud be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;let Var = 'QW';&lt;BR /&gt;&lt;BR /&gt;Switch Var&lt;BR /&gt;&lt;BR /&gt;Case 'QW'&lt;BR /&gt;&lt;BR /&gt;Let Var='I`m in QW';&lt;BR /&gt;&lt;BR /&gt;Case 'AB'&lt;BR /&gt;&lt;BR /&gt;Let Var='I`m in AB';&lt;BR /&gt;&lt;BR /&gt;Default&lt;BR /&gt;&lt;BR /&gt;Let Var='I`m in Default';&lt;BR /&gt;&lt;BR /&gt;end switch&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 14:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-Switch/m-p/146978#M25454</guid>
      <dc:creator />
      <dc:date>2009-06-17T14:02:25Z</dc:date>
    </item>
  </channel>
</rss>

