<?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 Are there any function like switch case? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183334#M48645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean, I want this one:&lt;/P&gt;&lt;P&gt;If year=2000 then A , year=2001 then B, year=2002 then C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jan 2011 10:16:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-25T10:16:46Z</dc:date>
    <item>
      <title>Are there any function like switch case?</title>
      <link>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183332#M48643</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 was wondering whether there are some function like switch case.&lt;/P&gt;&lt;P&gt;Allow me to take an example:&lt;/P&gt;&lt;P&gt;In the expression: I can use If clause to judge, but it is limited to 2 choices, but I want to get more than 2 choices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 08:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183332#M48643</guid>
      <dc:creator />
      <dc:date>2011-01-25T08:18:03Z</dc:date>
    </item>
    <item>
      <title>Are there any function like switch case?</title>
      <link>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183333#M48644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;You can use the Match function to achieve the same&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;if(match( Year, 2000,2001,2002)&amp;gt;0,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183333#M48644</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-01-25T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Are there any function like switch case?</title>
      <link>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183334#M48645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean, I want this one:&lt;/P&gt;&lt;P&gt;If year=2000 then A , year=2001 then B, year=2002 then C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 10:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183334#M48645</guid>
      <dc:creator />
      <dc:date>2011-01-25T10:16:46Z</dc:date>
    </item>
    <item>
      <title>Are there any function like switch case?</title>
      <link>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183335#M48646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;Check if below code helps you.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;pick(&lt;/STRONG&gt;&lt;STRONG&gt;wildmatch(Year,2000&lt;/STRONG&gt;&lt;STRONG&gt;, 2001,2002,'*'&lt;/STRONG&gt;&lt;STRONG&gt;),&lt;/STRONG&gt;&lt;STRONG&gt;'A', 'B', 'C', 'Other')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- Sridhar&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 11:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Are-there-any-function-like-switch-case/m-p/183335#M48646</guid>
      <dc:creator />
      <dc:date>2011-01-25T11:02:23Z</dc:date>
    </item>
  </channel>
</rss>

